- Timestamp:
- 05/30/16 14:05:15 (7 years ago)
- Branches:
- 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- f9798ad
- Parents:
- b367591
- git-author:
- Sebastian Huber <sebastian.huber@…> (05/30/16 14:05:15)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (05/30/16 14:06:42)
- Location:
- rtemsbsd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rtemsbsd/include/machine/rtems-bsd-muteximpl.h
rb367591 r70d52b8 76 76 Thread_Control *owner; 77 77 78 _Thread_queue_Context_initialize(&queue_context , NULL);78 _Thread_queue_Context_initialize(&queue_context); 79 79 _Thread_queue_Acquire(&m->queue, &queue_context.Lock_context); 80 80 … … 101 101 Thread_Control *owner; 102 102 103 _Thread_queue_Context_initialize(&queue_context , NULL);103 _Thread_queue_Context_initialize(&queue_context); 104 104 _Thread_queue_Acquire(&m->queue, &queue_context.Lock_context); 105 105 … … 135 135 int nest_level; 136 136 137 _Thread_queue_Context_initialize(&queue_context , NULL);137 _Thread_queue_Context_initialize(&queue_context); 138 138 _Thread_queue_Acquire(&m->queue, &queue_context.Lock_context); 139 139 -
rtemsbsd/rtems/rtems-kernel-muteximpl.c
rb367591 r70d52b8 61 61 62 62 ++executing->resource_count; 63 _Thread_queue_Context_set_expected_level(queue_context, 1); 63 64 _Thread_queue_Enqueue_critical(&m->queue, 64 65 BSD_MUTEX_TQ_OPERATIONS, executing, 65 STATES_WAITING_FOR_MUTEX, WATCHDOG_NO_TIMEOUT, 0,66 &queue_context->Lock_context);66 STATES_WAITING_FOR_MUTEX, WATCHDOG_NO_TIMEOUT, 67 queue_context); 67 68 } 68 69 }
Note: See TracChangeset
for help on using the changeset viewer.