mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 23:59:18 +08:00
parent
79ec6b9e1c
commit
9a583a94d3
@ -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_RELATIVE];
|
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_MONOTONIC];
|
||||||
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