![]() |
![]() |
#include <xdc/std.h>
#include <ti/sdo/dmai/Dmai.h>
Go to the source code of this file.
Data Structures | |
struct | Rendezvous_Attrs |
Attributes used to create a Rendezvous. More... | |
Defines | |
#define | Rendezvous_INFINITE -1 |
Typedefs | |
typedef struct Rendezvous_Object * | Rendezvous_Handle |
Handle through which to reference a Rendezvous Object. | |
Functions | |
Rendezvous_Handle | Rendezvous_create (Int count, Rendezvous_Attrs *attrs) |
Creates a Rendezvous Object. Must be called before a Rendezvous_Handle can be used in subsequent operations. | |
Void | Rendezvous_meet (Rendezvous_Handle hRv) |
Called by a thread when it's ready to meet up with other threads. This will register that the thread is ready, and will block the calling thread until a total number of count threads have called this function on this Rendezvous object. When this happens, all threads are unblocked at once and the Rendezvous object will be reset to it's original count. | |
Void | Rendezvous_force (Rendezvous_Handle hRv) |
This call forces all threads blocking in Rendezvous_meet to unblock no matter what the state of the Rendezvous object. Useful for e.g. error cleanup. To reuse a Rendezvous object after this call, Rendezvous_reset must be called. | |
Void | Rendezvous_reset (Rendezvous_Handle hRv) |
This call resets the Rendezvous object to it's original count at opening time. | |
Void | Rendezvous_forceAndReset (Rendezvous_Handle hRv) |
This call is equivalent to calling Rendezvous_force followed by Rendezvous_reset in a single operation. This will ensure that calls to Rendezvous_meet will not fail to block in-between the calls to Rendezvous_force and Rendezvous_reset if they were called separately. | |
Int | Rendezvous_delete (Rendezvous_Handle hRv) |
Deletes a previously created Rendezvous object. | |
Variables | |
const Rendezvous_Attrs | Rendezvous_Attrs_DEFAULT |
Default attributes for a Rendezvous. |