Home
last modified time | relevance | path

Searched refs:semaphore_ptr (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/ThreadX-v6.3.0/common/src/
Dtx_semaphore_create.c75 UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count) in _tx_semaphore_create() argument
85 TX_MEMSET(semaphore_ptr, 0, (sizeof(TX_SEMAPHORE))); in _tx_semaphore_create()
88 semaphore_ptr -> tx_semaphore_name = name_ptr; in _tx_semaphore_create()
89 semaphore_ptr -> tx_semaphore_count = initial_count; in _tx_semaphore_create()
95 semaphore_ptr -> tx_semaphore_id = TX_SEMAPHORE_ID; in _tx_semaphore_create()
103 _tx_semaphore_created_ptr = semaphore_ptr; in _tx_semaphore_create()
104 semaphore_ptr -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
105 semaphore_ptr -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
115 next_semaphore -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
116 previous_semaphore -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
[all …]
Dtx_semaphore_put.c75 UINT _tx_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_put() argument
99 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_put()
103 …RACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_put()
109 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_put()
116 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_put()
121 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_put()
134 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_put()
144 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_put()
156 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_put()
165 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_put()
[all …]
Dtx_semaphore_ceiling_put.c77 UINT _tx_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) in _tx_semaphore_ceiling_put() argument
105 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_ceiling_put()
109 …LINE_INSERT(TX_TRACE_SEMAPHORE_CEILING_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_ceiling_put()
115 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_ceiling_put()
122 if (semaphore_ptr -> tx_semaphore_count >= ceiling) in _tx_semaphore_ceiling_put()
135 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_ceiling_put()
140 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_ceiling_put()
153 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_ceiling_put()
167 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_ceiling_put()
177 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_ceiling_put()
[all …]
Dtx_semaphore_delete.c77 UINT _tx_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_delete() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_DELETE, semaphore_ptr, TX_POINTER_TO_ULONG_CONVERT(&thr… in _tx_semaphore_delete()
96 TX_SEMAPHORE_DELETE_EXTENSION(semaphore_ptr) in _tx_semaphore_delete()
99 TX_TRACE_OBJECT_UNREGISTER(semaphore_ptr) in _tx_semaphore_delete()
105 semaphore_ptr -> tx_semaphore_id = TX_CLEAR_ID; in _tx_semaphore_delete()
121 … next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_delete()
122 … previous_semaphore = semaphore_ptr -> tx_semaphore_created_previous; in _tx_semaphore_delete()
127 if (_tx_semaphore_created_ptr == semaphore_ptr) in _tx_semaphore_delete()
139 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_delete()
140 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_delete()
[all …]
Dtx_semaphore_cleanup.c85 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
106semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
109 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
113 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
117 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
122semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
131 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
134 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
145 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
159 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
[all …]
Dtx_semaphore_get.c76 UINT _tx_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) in _tx_semaphore_get() argument
99 semaphore_ptr -> tx_semaphore_performance_get_count++; in _tx_semaphore_get()
103 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_GET, semaphore_ptr, wait_option, semaphore_ptr -> tx_se… in _tx_semaphore_get()
109 if (semaphore_ptr -> tx_semaphore_count != ((ULONG) 0)) in _tx_semaphore_get()
113 semaphore_ptr -> tx_semaphore_count--; in _tx_semaphore_get()
144 semaphore_ptr -> tx_semaphore_performance_suspension_count++; in _tx_semaphore_get()
155 thread_ptr -> tx_thread_suspend_control_block = (VOID *) semaphore_ptr; in _tx_semaphore_get()
165 if (semaphore_ptr -> tx_semaphore_suspended_count == TX_NO_SUSPENSIONS) in _tx_semaphore_get()
170 semaphore_ptr -> tx_semaphore_suspension_list = thread_ptr; in _tx_semaphore_get()
178 … next_thread = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_get()
[all …]
Dtx_semaphore_performance_info_get.c83 UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets, in _tx_semaphore_performance_info_get() argument
94 if (semaphore_ptr == TX_NULL) in _tx_semaphore_performance_info_get()
102 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _tx_semaphore_performance_info_get()
115 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PERFORMANCE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_… in _tx_semaphore_performance_info_get()
127 *puts = semaphore_ptr -> tx_semaphore_performance_put_count; in _tx_semaphore_performance_info_get()
134 *gets = semaphore_ptr -> tx_semaphore_performance_get_count; in _tx_semaphore_performance_info_get()
141 *suspensions = semaphore_ptr -> tx_semaphore_performance_suspension_count; in _tx_semaphore_performance_info_get()
148 *timeouts = semaphore_ptr -> tx_semaphore_performance_timeout_count; in _tx_semaphore_performance_info_get()
162 if (semaphore_ptr != TX_NULL) in _tx_semaphore_performance_info_get()
Dtx_semaphore_prioritize.c75 UINT _tx_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_prioritize() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PRIORITIZE, semaphore_ptr, semaphore_ptr -> tx_semaphor… in _tx_semaphore_prioritize()
99 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
114 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
122 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
132 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
168 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
178 if (suspended_count != semaphore_ptr -> tx_semaphore_suspended_count) in _tx_semaphore_prioritize()
199 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
200 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
[all …]
Dtx_semaphore_info_get.c80 UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, in _tx_semaphore_info_get() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_SEMAPHORE_EV… in _tx_semaphore_info_get()
104 *name = semaphore_ptr -> tx_semaphore_name; in _tx_semaphore_info_get()
111 *current_value = semaphore_ptr -> tx_semaphore_count; in _tx_semaphore_info_get()
118 *first_suspended = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_info_get()
125 *suspended_count = (ULONG) semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_info_get()
132 *next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_info_get()
Dtxe_semaphore_prioritize.c72 UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_prioritize() argument
79 if (semaphore_ptr == TX_NULL) in _txe_semaphore_prioritize()
87 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_prioritize()
97 status = _tx_semaphore_prioritize(semaphore_ptr); in _txe_semaphore_prioritize()
Dtxe_semaphore_put.c72 UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_put() argument
79 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put()
87 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put()
97 status = _tx_semaphore_put(semaphore_ptr); in _txe_semaphore_put()
Dtxe_semaphore_put_notify.c75 UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPH… in _txe_semaphore_put_notify() argument
82 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put_notify()
90 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put_notify()
100 status = _tx_semaphore_put_notify(semaphore_ptr, semaphore_put_notify); in _txe_semaphore_put_notify()
/ThreadX-v6.3.0/common_smp/src/
Dtx_semaphore_create.c75 UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count) in _tx_semaphore_create() argument
85 TX_MEMSET(semaphore_ptr, 0, (sizeof(TX_SEMAPHORE))); in _tx_semaphore_create()
88 semaphore_ptr -> tx_semaphore_name = name_ptr; in _tx_semaphore_create()
89 semaphore_ptr -> tx_semaphore_count = initial_count; in _tx_semaphore_create()
95 semaphore_ptr -> tx_semaphore_id = TX_SEMAPHORE_ID; in _tx_semaphore_create()
103 _tx_semaphore_created_ptr = semaphore_ptr; in _tx_semaphore_create()
104 semaphore_ptr -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
105 semaphore_ptr -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
115 next_semaphore -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
116 previous_semaphore -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
[all …]
Dtx_semaphore_put.c75 UINT _tx_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_put() argument
99 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_put()
103 …RACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_put()
109 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_put()
116 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_put()
121 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_put()
134 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_put()
144 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_put()
156 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_put()
165 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_put()
[all …]
Dtx_semaphore_ceiling_put.c77 UINT _tx_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) in _tx_semaphore_ceiling_put() argument
105 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_ceiling_put()
109 …LINE_INSERT(TX_TRACE_SEMAPHORE_CEILING_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_ceiling_put()
115 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_ceiling_put()
122 if (semaphore_ptr -> tx_semaphore_count >= ceiling) in _tx_semaphore_ceiling_put()
135 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_ceiling_put()
140 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_ceiling_put()
153 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_ceiling_put()
167 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_ceiling_put()
177 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_ceiling_put()
[all …]
Dtx_semaphore_delete.c77 UINT _tx_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_delete() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_DELETE, semaphore_ptr, TX_POINTER_TO_ULONG_CONVERT(&thr… in _tx_semaphore_delete()
96 TX_SEMAPHORE_DELETE_EXTENSION(semaphore_ptr) in _tx_semaphore_delete()
99 TX_TRACE_OBJECT_UNREGISTER(semaphore_ptr) in _tx_semaphore_delete()
105 semaphore_ptr -> tx_semaphore_id = TX_CLEAR_ID; in _tx_semaphore_delete()
121 … next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_delete()
122 … previous_semaphore = semaphore_ptr -> tx_semaphore_created_previous; in _tx_semaphore_delete()
127 if (_tx_semaphore_created_ptr == semaphore_ptr) in _tx_semaphore_delete()
139 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_delete()
140 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_delete()
[all …]
Dtx_semaphore_cleanup.c85 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
106semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
109 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
113 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
117 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
122semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
131 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
134 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
145 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
159 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
[all …]
Dtx_semaphore_get.c76 UINT _tx_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) in _tx_semaphore_get() argument
99 semaphore_ptr -> tx_semaphore_performance_get_count++; in _tx_semaphore_get()
103 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_GET, semaphore_ptr, wait_option, semaphore_ptr -> tx_se… in _tx_semaphore_get()
109 if (semaphore_ptr -> tx_semaphore_count != ((ULONG) 0)) in _tx_semaphore_get()
113 semaphore_ptr -> tx_semaphore_count--; in _tx_semaphore_get()
144 semaphore_ptr -> tx_semaphore_performance_suspension_count++; in _tx_semaphore_get()
155 thread_ptr -> tx_thread_suspend_control_block = (VOID *) semaphore_ptr; in _tx_semaphore_get()
165 if (semaphore_ptr -> tx_semaphore_suspended_count == TX_NO_SUSPENSIONS) in _tx_semaphore_get()
170 semaphore_ptr -> tx_semaphore_suspension_list = thread_ptr; in _tx_semaphore_get()
178 … next_thread = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_get()
[all …]
Dtx_semaphore_performance_info_get.c83 UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets, in _tx_semaphore_performance_info_get() argument
94 if (semaphore_ptr == TX_NULL) in _tx_semaphore_performance_info_get()
102 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _tx_semaphore_performance_info_get()
115 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PERFORMANCE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_… in _tx_semaphore_performance_info_get()
127 *puts = semaphore_ptr -> tx_semaphore_performance_put_count; in _tx_semaphore_performance_info_get()
134 *gets = semaphore_ptr -> tx_semaphore_performance_get_count; in _tx_semaphore_performance_info_get()
141 *suspensions = semaphore_ptr -> tx_semaphore_performance_suspension_count; in _tx_semaphore_performance_info_get()
148 *timeouts = semaphore_ptr -> tx_semaphore_performance_timeout_count; in _tx_semaphore_performance_info_get()
162 if (semaphore_ptr != TX_NULL) in _tx_semaphore_performance_info_get()
Dtx_semaphore_prioritize.c75 UINT _tx_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_prioritize() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PRIORITIZE, semaphore_ptr, semaphore_ptr -> tx_semaphor… in _tx_semaphore_prioritize()
99 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
114 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
122 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
132 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
168 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
178 if (suspended_count != semaphore_ptr -> tx_semaphore_suspended_count) in _tx_semaphore_prioritize()
199 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
200 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
[all …]
Dtx_semaphore_info_get.c80 UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, in _tx_semaphore_info_get() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_SEMAPHORE_EV… in _tx_semaphore_info_get()
104 *name = semaphore_ptr -> tx_semaphore_name; in _tx_semaphore_info_get()
111 *current_value = semaphore_ptr -> tx_semaphore_count; in _tx_semaphore_info_get()
118 *first_suspended = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_info_get()
125 *suspended_count = (ULONG) semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_info_get()
132 *next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_info_get()
Dtxe_semaphore_prioritize.c72 UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_prioritize() argument
79 if (semaphore_ptr == TX_NULL) in _txe_semaphore_prioritize()
87 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_prioritize()
97 status = _tx_semaphore_prioritize(semaphore_ptr); in _txe_semaphore_prioritize()
Dtxe_semaphore_put.c72 UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_put() argument
79 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put()
87 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put()
97 status = _tx_semaphore_put(semaphore_ptr); in _txe_semaphore_put()
Dtxe_semaphore_put_notify.c75 UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPH… in _txe_semaphore_put_notify() argument
82 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put_notify()
90 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put_notify()
100 status = _tx_semaphore_put_notify(semaphore_ptr, semaphore_put_notify); in _txe_semaphore_put_notify()
/ThreadX-v6.3.0/utility/rtos_compatibility_layers/posix/
Dpx_cond_signal.c89 TX_SEMAPHORE *semaphore_ptr; in pthread_cond_signal() local
94 semaphore_ptr = (&( cond->cond_semaphore )); in pthread_cond_signal()
95 if ( semaphore_ptr->tx_semaphore_suspended_count) in pthread_cond_signal()
97 status = tx_semaphore_prioritize(semaphore_ptr); in pthread_cond_signal()
104 status = tx_semaphore_put(semaphore_ptr); in pthread_cond_signal()

12345678910>>...13