mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-26 01:05:05 +08:00
rtems-bsd-mutex: Update due to API changes
This commit is contained in:
parent
95100121dc
commit
e5aa554ea1
@ -61,10 +61,10 @@ rtems_bsd_mutex_lock_more(struct lock_object *lock, rtems_bsd_mutex *m,
|
||||
|
||||
++executing->resource_count;
|
||||
_Thread_queue_Context_set_expected_level(queue_context, 1);
|
||||
_Thread_queue_Context_set_no_timeout(queue_context);
|
||||
_Thread_queue_Enqueue_critical(&m->queue,
|
||||
BSD_MUTEX_TQ_OPERATIONS, executing,
|
||||
STATES_WAITING_FOR_MUTEX, WATCHDOG_NO_TIMEOUT,
|
||||
queue_context);
|
||||
STATES_WAITING_FOR_MUTEX, queue_context);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user