[rtems-libbsd commit] rtems-bsd-mutex: Update due to API changes
Sebastian Huber
sebh at rtems.org
Tue Oct 24 10:20:19 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: 2fcf5aadd584c08066ddc03b9b4f79eaf17d9d24
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=2fcf5aadd584c08066ddc03b9b4f79eaf17d9d24
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 24 12:19:28 2017 +0200
rtems-bsd-mutex: Update due to API changes
Update #3117.
---
rtemsbsd/rtems/rtems-kernel-muteximpl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/rtemsbsd/rtems/rtems-kernel-muteximpl.c b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
index 5bd32ae..d240028 100644
--- a/rtemsbsd/rtems/rtems-kernel-muteximpl.c
+++ b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
@@ -55,8 +55,7 @@ rtems_bsd_mutex_lock_more(struct lock_object *lock, rtems_bsd_mutex *m,
} else {
_Thread_queue_Context_set_thread_state(queue_context,
STATES_WAITING_FOR_MUTEX);
- _Thread_queue_Context_set_no_timeout(queue_context);
- _Thread_queue_Context_set_do_nothing_enqueue_callout(
+ _Thread_queue_Context_set_enqueue_do_nothing_extra(
queue_context);
_Thread_queue_Context_set_deadlock_callout(queue_context,
_Thread_queue_Deadlock_fatal);
More information about the vc
mailing list