Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 11 of 11) sorted by relevance

/hal_infineon-latest/abstraction-rtos/include/
Dcyabs_rtos.h220 cy_rslt_t cy_rtos_thread_create(cy_thread_t* thread, cy_thread_entry_fn_t entry_function,
253 cy_rslt_t cy_rtos_thread_terminate(cy_thread_t* thread);
264 cy_rslt_t cy_rtos_thread_join(cy_thread_t* thread);
277 cy_rslt_t cy_rtos_thread_is_running(cy_thread_t* thread, bool* running);
288 cy_rslt_t cy_rtos_thread_get_state(cy_thread_t* thread, cy_thread_state_t* state);
298 cy_rslt_t cy_rtos_thread_get_handle(cy_thread_t* thread);
326 cy_rslt_t cy_rtos_thread_set_notification(cy_thread_t* thread);
342 cy_rslt_t cy_rtos_thread_get_name(cy_thread_t* thread, const char** thread_name);
849 #define cy_rtos_create_thread(thread, entry_function, name, stack, stack_size, priority, arg) \ argument
850 cy_rtos_thread_create(thread, entry_function, name, stack, stack_size, priority, arg)
[all …]
Dcy_worker_thread.h93 cy_thread_t thread; /**< Thread object */ member
/hal_infineon-latest/abstraction-rtos/source/COMPONENT_THREADX/
Dcyabs_rtos_threadx.c120 TX_THREAD thread; member
129 cy_rslt_t cy_rtos_thread_create(cy_thread_t* thread, cy_thread_entry_fn_t entry_function, in cy_rtos_thread_create() argument
134 if ((thread == NULL) || (stack_size < CY_RTOS_MIN_STACK_SIZE)) in cy_rtos_thread_create()
170 *thread = (cy_thread_t)wrapper_ptr; in cy_rtos_thread_create()
173 cy_rtos_error_t tx_rslt = tx_thread_create(*thread, (CHAR*)name, entry_function, arg, stack, in cy_rtos_thread_create()
201 cy_rslt_t cy_rtos_thread_terminate(cy_thread_t* thread) in cy_rtos_thread_terminate() argument
203 if (thread == NULL) in cy_rtos_thread_terminate()
208 return convert_error(tx_thread_terminate(*thread)); in cy_rtos_thread_terminate()
215 cy_rslt_t cy_rtos_thread_is_running(cy_thread_t* thread, bool* running) in cy_rtos_thread_is_running() argument
217 if ((thread == NULL) || (running == NULL)) in cy_rtos_thread_is_running()
[all …]
/hal_infineon-latest/abstraction-rtos/source/COMPONENT_FREERTOS/
Dcyabs_rtos_freertos.c86 cy_rslt_t cy_rtos_thread_create(cy_thread_t* thread, cy_thread_entry_fn_t entry_function, in cy_rtos_thread_create() argument
91 if ((thread == NULL) || (stack_size < CY_RTOS_MIN_STACK_SIZE)) in cy_rtos_thread_create()
135 *thread = xTaskCreateStatic((TaskFunction_t)entry_function, name, stack_size_rtos, arg, in cy_rtos_thread_create()
137 CY_ASSERT(((void*)*thread == (void*)&(wrapper->task)) || (*thread == NULL)); in cy_rtos_thread_create()
194 cy_rslt_t cy_rtos_thread_terminate(cy_thread_t* thread) in cy_rtos_thread_terminate() argument
197 if (thread == NULL) in cy_rtos_thread_terminate()
203 vTaskDelete(*thread); in cy_rtos_thread_terminate()
205 cy_task_wrapper_t* wrapper = ((cy_task_wrapper_t*)*thread); in cy_rtos_thread_terminate()
223 cy_rslt_t cy_rtos_thread_is_running(cy_thread_t* thread, bool* running) in cy_rtos_thread_is_running() argument
226 if ((thread == NULL) || (running == NULL)) in cy_rtos_thread_is_running()
[all …]
/hal_infineon-latest/abstraction-rtos/source/COMPONENT_RTX/
Dcyabs_rtos_rtxv5.c134 cy_rslt_t cy_rtos_thread_create(cy_thread_t* thread, cy_thread_entry_fn_t entry_function, in cy_rtos_thread_create() argument
141 if ((thread == NULL) || (stack_size < CY_RTOS_MIN_STACK_SIZE)) in cy_rtos_thread_create()
185 *thread = osThreadNew((osThreadFunc_t)entry_function, arg, &attr); in cy_rtos_thread_create()
186 CY_ASSERT((*thread == attr.cb_mem) || (*thread == NULL)); in cy_rtos_thread_create()
187 status = (*thread == NULL) ? CY_RTOS_GENERAL_ERROR : CY_RSLT_SUCCESS; in cy_rtos_thread_create()
209 cy_rslt_t cy_rtos_thread_terminate(cy_thread_t* thread) in cy_rtos_thread_terminate() argument
214 if (thread == NULL) in cy_rtos_thread_terminate()
220 statusInternal = osThreadTerminate(*thread); in cy_rtos_thread_terminate()
231 cy_rslt_t cy_rtos_thread_is_running(cy_thread_t* thread, bool* running) in cy_rtos_thread_is_running() argument
235 if ((thread == NULL) || (running == NULL)) in cy_rtos_thread_is_running()
[all …]
/hal_infineon-latest/abstraction-rtos/
DRELEASE.md22 Pre-production release for CAT5 only. Only one application thread is supported. The Scheduler API f…
31 FreeRTOS: Improve context switching speed when an ISR unblocks a thread.
45 * Added new thread functions: cy_rtos_wait_thread_notification and cy_rtos_set_thread_notification
51 * Fixed a race condition in the worker thread
52 * Fixed possible issue with thread priorities
67 …he FreeRTOS implementation where it would always allocate memory for the thread stack, even if a p…
70 * Added a new function to get the ID of the currently running thread.
DREADME.md82 - `cy_thread_t` : typedef from underlying RTOS thread type
83 - `cy_thread_arg_t` : typedef from the RTOS type that is passed to the entry function of a thread.
/hal_infineon-latest/abstraction-rtos/source/
Dcy_worker_thread.c105 result = cy_rtos_thread_create(&new_worker->thread, in cy_worker_thread_create()
159 result = cy_rtos_thread_join(&old_worker->thread); in cy_worker_thread_delete()
/hal_infineon-latest/serial-flash/
DRELEASE.md22 * Implemented thread-safety for use with multi-threaded RTOS environment using the [abstraction-rto…
23 - Add `DEFINES=CY_SERIAL_FLASH_QSPI_THREAD_SAFE` in the Makefile to enable thread-safety
DREADME.md10 * Implements thread-safety for use with multi-threaded RTOS environment using the [abstraction-rtos…
18 2. Add `DEFINES=CY_SERIAL_FLASH_QSPI_THREAD_SAFE` in the Makefile to enable thread-safety when used…
/hal_infineon-latest/whd-bsp-integration/
DREADME.md14 * CY_WIFI_THREAD_STACK_SIZE: Defines the amount of stack memory available for the wifi thread.
15 * CY_WIFI_THREAD_PRIORITY: Defines the priority of the thread that services wifi packets. Legal val…