mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 15:19:23 +08:00
parent
8b3da1329b
commit
a0633c51db
@ -463,7 +463,7 @@ sleepq_set_timeout_sbt(void *wchan, sbintime_t sbt, sbintime_t pr,
|
|||||||
|
|
||||||
_ISR_lock_ISR_disable_and_acquire(&executing->Timer.Lock, &lock_context);
|
_ISR_lock_ISR_disable_and_acquire(&executing->Timer.Lock, &lock_context);
|
||||||
|
|
||||||
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_MONOTONIC];
|
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_TICKS];
|
||||||
executing->Timer.header = header;
|
executing->Timer.header = header;
|
||||||
executing->Timer.Watchdog.routine = sleepq_timeout;
|
executing->Timer.Watchdog.routine = sleepq_timeout;
|
||||||
_Watchdog_Set_CPU(&executing->Timer.Watchdog, cpu_self);
|
_Watchdog_Set_CPU(&executing->Timer.Watchdog, cpu_self);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user