Home
last modified time | relevance | path

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

12345678910>>...13

/ThreadX-v6.4.1/common/src/
Dtx_semaphore_create.c74 UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count) in _tx_semaphore_create() argument
84 TX_MEMSET(semaphore_ptr, 0, (sizeof(TX_SEMAPHORE))); in _tx_semaphore_create()
87 semaphore_ptr -> tx_semaphore_name = name_ptr; in _tx_semaphore_create()
88 semaphore_ptr -> tx_semaphore_count = initial_count; in _tx_semaphore_create()
94 semaphore_ptr -> tx_semaphore_id = TX_SEMAPHORE_ID; in _tx_semaphore_create()
102 _tx_semaphore_created_ptr = semaphore_ptr; in _tx_semaphore_create()
103 semaphore_ptr -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
104 semaphore_ptr -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
114 next_semaphore -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
115 previous_semaphore -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
[all …]
Dtx_semaphore_put.c74 UINT _tx_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_put() argument
98 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_put()
102 …RACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_put()
108 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_put()
115 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_put()
120 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_put()
133 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_put()
143 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_put()
155 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_put()
164 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_put()
[all …]
Dtx_semaphore_ceiling_put.c76 UINT _tx_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) in _tx_semaphore_ceiling_put() argument
104 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_ceiling_put()
108 …LINE_INSERT(TX_TRACE_SEMAPHORE_CEILING_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_ceiling_put()
114 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_ceiling_put()
121 if (semaphore_ptr -> tx_semaphore_count >= ceiling) in _tx_semaphore_ceiling_put()
134 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_ceiling_put()
139 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_ceiling_put()
152 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_ceiling_put()
166 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_ceiling_put()
176 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_ceiling_put()
[all …]
Dtx_semaphore_delete.c76 UINT _tx_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_DELETE, semaphore_ptr, TX_POINTER_TO_ULONG_CONVERT(&thr… in _tx_semaphore_delete()
95 TX_SEMAPHORE_DELETE_EXTENSION(semaphore_ptr) in _tx_semaphore_delete()
98 TX_TRACE_OBJECT_UNREGISTER(semaphore_ptr) in _tx_semaphore_delete()
104 semaphore_ptr -> tx_semaphore_id = TX_CLEAR_ID; in _tx_semaphore_delete()
120 … next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_delete()
121 … previous_semaphore = semaphore_ptr -> tx_semaphore_created_previous; in _tx_semaphore_delete()
126 if (_tx_semaphore_created_ptr == semaphore_ptr) in _tx_semaphore_delete()
138 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_delete()
139 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_delete()
[all …]
Dtx_semaphore_cleanup.c84 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
105semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
108 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
112 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
116 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
121semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
130 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
133 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
144 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
158 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
[all …]
Dtx_semaphore_get.c75 UINT _tx_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) in _tx_semaphore_get() argument
98 semaphore_ptr -> tx_semaphore_performance_get_count++; in _tx_semaphore_get()
102 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_GET, semaphore_ptr, wait_option, semaphore_ptr -> tx_se… in _tx_semaphore_get()
108 if (semaphore_ptr -> tx_semaphore_count != ((ULONG) 0)) in _tx_semaphore_get()
112 semaphore_ptr -> tx_semaphore_count--; in _tx_semaphore_get()
143 semaphore_ptr -> tx_semaphore_performance_suspension_count++; in _tx_semaphore_get()
154 thread_ptr -> tx_thread_suspend_control_block = (VOID *) semaphore_ptr; in _tx_semaphore_get()
164 if (semaphore_ptr -> tx_semaphore_suspended_count == TX_NO_SUSPENSIONS) in _tx_semaphore_get()
169 semaphore_ptr -> tx_semaphore_suspension_list = thread_ptr; in _tx_semaphore_get()
177 … next_thread = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_get()
[all …]
Dtx_semaphore_performance_info_get.c82 UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets, in _tx_semaphore_performance_info_get() argument
93 if (semaphore_ptr == TX_NULL) in _tx_semaphore_performance_info_get()
101 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _tx_semaphore_performance_info_get()
114 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PERFORMANCE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_… in _tx_semaphore_performance_info_get()
126 *puts = semaphore_ptr -> tx_semaphore_performance_put_count; in _tx_semaphore_performance_info_get()
133 *gets = semaphore_ptr -> tx_semaphore_performance_get_count; in _tx_semaphore_performance_info_get()
140 *suspensions = semaphore_ptr -> tx_semaphore_performance_suspension_count; in _tx_semaphore_performance_info_get()
147 *timeouts = semaphore_ptr -> tx_semaphore_performance_timeout_count; in _tx_semaphore_performance_info_get()
161 if (semaphore_ptr != TX_NULL) in _tx_semaphore_performance_info_get()
Dtx_semaphore_prioritize.c74 UINT _tx_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_prioritize() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PRIORITIZE, semaphore_ptr, semaphore_ptr -> tx_semaphor… in _tx_semaphore_prioritize()
98 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
113 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
121 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
131 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
167 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
177 if (suspended_count != semaphore_ptr -> tx_semaphore_suspended_count) in _tx_semaphore_prioritize()
198 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
199 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
[all …]
Dtx_semaphore_info_get.c79 UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, in _tx_semaphore_info_get() argument
91 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_SEMAPHORE_EV… in _tx_semaphore_info_get()
103 *name = semaphore_ptr -> tx_semaphore_name; in _tx_semaphore_info_get()
110 *current_value = semaphore_ptr -> tx_semaphore_count; in _tx_semaphore_info_get()
117 *first_suspended = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_info_get()
124 *suspended_count = (ULONG) semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_info_get()
131 *next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_info_get()
Dtxe_semaphore_prioritize.c71 UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_prioritize() argument
78 if (semaphore_ptr == TX_NULL) in _txe_semaphore_prioritize()
86 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_prioritize()
96 status = _tx_semaphore_prioritize(semaphore_ptr); in _txe_semaphore_prioritize()
Dtxe_semaphore_put.c71 UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_put() argument
78 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put()
86 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put()
96 status = _tx_semaphore_put(semaphore_ptr); in _txe_semaphore_put()
Dtxe_semaphore_put_notify.c74 UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPH… in _txe_semaphore_put_notify() argument
81 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put_notify()
89 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put_notify()
99 status = _tx_semaphore_put_notify(semaphore_ptr, semaphore_put_notify); in _txe_semaphore_put_notify()
/ThreadX-v6.4.1/common_smp/src/
Dtx_semaphore_create.c74 UINT _tx_semaphore_create(TX_SEMAPHORE *semaphore_ptr, CHAR *name_ptr, ULONG initial_count) in _tx_semaphore_create() argument
84 TX_MEMSET(semaphore_ptr, 0, (sizeof(TX_SEMAPHORE))); in _tx_semaphore_create()
87 semaphore_ptr -> tx_semaphore_name = name_ptr; in _tx_semaphore_create()
88 semaphore_ptr -> tx_semaphore_count = initial_count; in _tx_semaphore_create()
94 semaphore_ptr -> tx_semaphore_id = TX_SEMAPHORE_ID; in _tx_semaphore_create()
102 _tx_semaphore_created_ptr = semaphore_ptr; in _tx_semaphore_create()
103 semaphore_ptr -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
104 semaphore_ptr -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
114 next_semaphore -> tx_semaphore_created_previous = semaphore_ptr; in _tx_semaphore_create()
115 previous_semaphore -> tx_semaphore_created_next = semaphore_ptr; in _tx_semaphore_create()
[all …]
Dtx_semaphore_put.c74 UINT _tx_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_put() argument
98 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_put()
102 …RACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_put()
108 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_put()
115 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_put()
120 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_put()
133 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_put()
143 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_put()
155 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_put()
164 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_put()
[all …]
Dtx_semaphore_ceiling_put.c76 UINT _tx_semaphore_ceiling_put(TX_SEMAPHORE *semaphore_ptr, ULONG ceiling) in _tx_semaphore_ceiling_put() argument
104 semaphore_ptr -> tx_semaphore_performance_put_count++; in _tx_semaphore_ceiling_put()
108 …LINE_INSERT(TX_TRACE_SEMAPHORE_CEILING_PUT, semaphore_ptr, semaphore_ptr -> tx_semaphore_count, se… in _tx_semaphore_ceiling_put()
114 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_ceiling_put()
121 if (semaphore_ptr -> tx_semaphore_count >= ceiling) in _tx_semaphore_ceiling_put()
134 semaphore_ptr -> tx_semaphore_count++; in _tx_semaphore_ceiling_put()
139 semaphore_put_notify = semaphore_ptr -> tx_semaphore_put_notify; in _tx_semaphore_ceiling_put()
152 (semaphore_put_notify)(semaphore_ptr); in _tx_semaphore_ceiling_put()
166 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_ceiling_put()
176 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_ceiling_put()
[all …]
Dtx_semaphore_delete.c76 UINT _tx_semaphore_delete(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_DELETE, semaphore_ptr, TX_POINTER_TO_ULONG_CONVERT(&thr… in _tx_semaphore_delete()
95 TX_SEMAPHORE_DELETE_EXTENSION(semaphore_ptr) in _tx_semaphore_delete()
98 TX_TRACE_OBJECT_UNREGISTER(semaphore_ptr) in _tx_semaphore_delete()
104 semaphore_ptr -> tx_semaphore_id = TX_CLEAR_ID; in _tx_semaphore_delete()
120 … next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_delete()
121 … previous_semaphore = semaphore_ptr -> tx_semaphore_created_previous; in _tx_semaphore_delete()
126 if (_tx_semaphore_created_ptr == semaphore_ptr) in _tx_semaphore_delete()
138 thread_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_delete()
139 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_delete()
[all …]
Dtx_semaphore_cleanup.c84 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
105semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
108 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
112 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
116 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
121semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
130 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
133 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
144 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
158 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
[all …]
Dtx_semaphore_get.c75 UINT _tx_semaphore_get(TX_SEMAPHORE *semaphore_ptr, ULONG wait_option) in _tx_semaphore_get() argument
98 semaphore_ptr -> tx_semaphore_performance_get_count++; in _tx_semaphore_get()
102 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_GET, semaphore_ptr, wait_option, semaphore_ptr -> tx_se… in _tx_semaphore_get()
108 if (semaphore_ptr -> tx_semaphore_count != ((ULONG) 0)) in _tx_semaphore_get()
112 semaphore_ptr -> tx_semaphore_count--; in _tx_semaphore_get()
143 semaphore_ptr -> tx_semaphore_performance_suspension_count++; in _tx_semaphore_get()
154 thread_ptr -> tx_thread_suspend_control_block = (VOID *) semaphore_ptr; in _tx_semaphore_get()
164 if (semaphore_ptr -> tx_semaphore_suspended_count == TX_NO_SUSPENSIONS) in _tx_semaphore_get()
169 semaphore_ptr -> tx_semaphore_suspension_list = thread_ptr; in _tx_semaphore_get()
177 … next_thread = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_get()
[all …]
Dtx_semaphore_performance_info_get.c82 UINT _tx_semaphore_performance_info_get(TX_SEMAPHORE *semaphore_ptr, ULONG *puts, ULONG *gets, in _tx_semaphore_performance_info_get() argument
93 if (semaphore_ptr == TX_NULL) in _tx_semaphore_performance_info_get()
101 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _tx_semaphore_performance_info_get()
114 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PERFORMANCE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_… in _tx_semaphore_performance_info_get()
126 *puts = semaphore_ptr -> tx_semaphore_performance_put_count; in _tx_semaphore_performance_info_get()
133 *gets = semaphore_ptr -> tx_semaphore_performance_get_count; in _tx_semaphore_performance_info_get()
140 *suspensions = semaphore_ptr -> tx_semaphore_performance_suspension_count; in _tx_semaphore_performance_info_get()
147 *timeouts = semaphore_ptr -> tx_semaphore_performance_timeout_count; in _tx_semaphore_performance_info_get()
161 if (semaphore_ptr != TX_NULL) in _tx_semaphore_performance_info_get()
Dtx_semaphore_prioritize.c74 UINT _tx_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _tx_semaphore_prioritize() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_PRIORITIZE, semaphore_ptr, semaphore_ptr -> tx_semaphor… in _tx_semaphore_prioritize()
98 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
113 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
121 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
131 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
167 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
177 if (suspended_count != semaphore_ptr -> tx_semaphore_suspended_count) in _tx_semaphore_prioritize()
198 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
199 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_prioritize()
[all …]
Dtx_semaphore_info_get.c79 UINT _tx_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, in _tx_semaphore_info_get() argument
91 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_SEMAPHORE_INFO_GET, semaphore_ptr, 0, 0, 0, TX_TRACE_SEMAPHORE_EV… in _tx_semaphore_info_get()
103 *name = semaphore_ptr -> tx_semaphore_name; in _tx_semaphore_info_get()
110 *current_value = semaphore_ptr -> tx_semaphore_count; in _tx_semaphore_info_get()
117 *first_suspended = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_info_get()
124 *suspended_count = (ULONG) semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_info_get()
131 *next_semaphore = semaphore_ptr -> tx_semaphore_created_next; in _tx_semaphore_info_get()
Dtxe_semaphore_prioritize.c71 UINT _txe_semaphore_prioritize(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_prioritize() argument
78 if (semaphore_ptr == TX_NULL) in _txe_semaphore_prioritize()
86 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_prioritize()
96 status = _tx_semaphore_prioritize(semaphore_ptr); in _txe_semaphore_prioritize()
Dtxe_semaphore_put.c71 UINT _txe_semaphore_put(TX_SEMAPHORE *semaphore_ptr) in _txe_semaphore_put() argument
78 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put()
86 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put()
96 status = _tx_semaphore_put(semaphore_ptr); in _txe_semaphore_put()
Dtxe_semaphore_put_notify.c74 UINT _txe_semaphore_put_notify(TX_SEMAPHORE *semaphore_ptr, VOID (*semaphore_put_notify)(TX_SEMAPH… in _txe_semaphore_put_notify() argument
81 if (semaphore_ptr == TX_NULL) in _txe_semaphore_put_notify()
89 else if (semaphore_ptr -> tx_semaphore_id != TX_SEMAPHORE_ID) in _txe_semaphore_put_notify()
99 status = _tx_semaphore_put_notify(semaphore_ptr, semaphore_put_notify); in _txe_semaphore_put_notify()
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_cond_signal.c88 TX_SEMAPHORE *semaphore_ptr; in pthread_cond_signal() local
93 semaphore_ptr = (&( cond->cond_semaphore )); in pthread_cond_signal()
94 if ( semaphore_ptr->tx_semaphore_suspended_count) in pthread_cond_signal()
96 status = tx_semaphore_prioritize(semaphore_ptr); in pthread_cond_signal()
103 status = tx_semaphore_put(semaphore_ptr); in pthread_cond_signal()

12345678910>>...13