Processors registration structure.
Definition at line 135 of file procs.c.
pthread_mutex_t procs_reg_elem_s::api_mutex |
Processor's API mutual exclusion lock. This lock is used to provide a critical section for external applications to be able to use the processor's API concurrently and asynchronously on any of the registered processor instances. Processor's API options are available through the function 'proc_opt()' (see .proc.h). This lock is initialized when opening this module, and is kept through the whole life of the module.
Definition at line 146 of file procs.c.
fair_lock_t* procs_reg_elem_s::fair_lock_io_array[PROC_IO_NUM] |
A pair of locks used to provide a critical section to execute, in mutual exclusion, the processor's instantiating operations (register/unregister) and the input/output operations (send/receive). These locks are initialized when opening this module, and are kept through the whole life of the module.
Definition at line 154 of file procs.c.
Processor context structure. Each instantiated processor will be registered using this pointer, in a registration array. This pointer may be NULL in the register, meaning that an empty slot is available for registering new processors. To access a registered processor, this pointer will be fetched from the registration array.
- See also
- procs_module_ctx_t
-
procs_reg_elem_array
Definition at line 165 of file procs.c.
The documentation for this struct was generated from the following file: