[rtems-libbsd commit] rtems-bsd-mutex: Update due to API changes

Sebastian Huber sebh at rtems.org
Wed Jul 27 06:52:19 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    e5aa554ea155d07baccca9d6f17b90678d07d4b0
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=e5aa554ea155d07baccca9d6f17b90678d07d4b0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 27 08:51:53 2016 +0200

rtems-bsd-mutex: Update due to API changes

---

 rtemsbsd/rtems/rtems-kernel-muteximpl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/rtems/rtems-kernel-muteximpl.c b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
index 2b7cb68..4f3d647 100644
--- a/rtemsbsd/rtems/rtems-kernel-muteximpl.c
+++ b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
@@ -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);
 	}
 }
 



More information about the vc mailing list