RTEMS
5.0.0
|
Files | |
file | threadmp.c |
Distributed MP Support. | |
Macros | |
#define | _Thread_MP_Is_receive(_the_thread) ((_the_thread) == _MPCI_Receive_server_tcb) |
Functions | |
void | _Thread_MP_Handler_initialization (uint32_t maximum_proxies) |
Initialize MP thread handler. More... | |
Thread_Control * | _Thread_MP_Allocate_proxy (States_Control the_state) |
Allocate a MP proxy control block from the inactive chain of free proxy control blocks. More... | |
Thread_Control * | _Thread_MP_Find_proxy (Objects_Id the_id) |
Removes the MP proxy control block for the specified id from the active chain of proxy control blocks. More... | |
void | _Thread_MP_Free_proxy (Thread_Control *the_thread) |
RTEMS_INLINE_ROUTINE bool | _Thread_MP_Is_remote (Objects_Id id) |
This handler encapsulates functionality which is related to managing threads in a multiprocessor system configuration. This handler must manage proxies which represent remote threads blocking on local operations.
#define _Thread_MP_Is_receive | ( | _the_thread | ) | ((_the_thread) == _MPCI_Receive_server_tcb) |
This function returns true if the thread in question is the multiprocessing receive thread.
Thread_Control* _Thread_MP_Allocate_proxy | ( | States_Control | the_state | ) |
Allocate a MP proxy control block from the inactive chain of free proxy control blocks.
This allocates a proxy control block from the inactive chain of free proxy control blocks.
Thread_Control* _Thread_MP_Find_proxy | ( | Objects_Id | the_id | ) |
Removes the MP proxy control block for the specified id from the active chain of proxy control blocks.
This function removes the proxy control block for the specified id from the active red-black tree of proxy control blocks.
void _Thread_MP_Free_proxy | ( | Thread_Control * | the_thread | ) |
This routine frees a proxy control block to the inactive chain of free proxy control blocks.
void _Thread_MP_Handler_initialization | ( | uint32_t | maximum_proxies | ) |
Initialize MP thread handler.
This routine initializes the multiprocessing portion of the Thread Handler.