![]() |
![]() |
* ============================================================================ * Copyright (c) Texas Instruments Inc 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ *
#include <pthread.h>
Include dependency graph for rendezvous.h:
Go to the source code of this file.
Data Structures | |
struct | Rendezvous_Obj |
Object that stores the state. More... | |
Defines | |
#define | RENDEZVOUS_SUCCESS 0 |
Indicates that a Rendezvous API call completed successfully. | |
#define | RENDEZVOUS_FAILURE -1 |
Indicates that a Rendezvous API call failed. | |
Typedefs | |
typedef Rendezvous_Obj | Rendezvous_Obj |
Object that stores the state. | |
typedef Rendezvous_Obj * | Rendezvous_Handle |
Pointer to a rendezvous object. | |
Functions | |
static void | Rendezvous_open (Rendezvous_Handle hRv, int count) |
Opens the Rendezvous object. Must be called before other API:s on a Rendezvous object. | |
static void | Rendezvous_meet (Rendezvous_Handle hRv) |
Called by a thread when it's initialization is done. This will register that this thread is done initializing and will block the thread until the other threads are done initializing, after which all threads will be unblocked at once. | |
static 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 error cleanup. | |
static void | Rendezvous_close (Rendezvous_Handle hRv) |
Closes a previously opened Rendezvous object. |
|
Indicates that a Rendezvous API call completed successfully.
|
|
Indicates that a Rendezvous API call failed.
|
|
Object that stores the state.
|
|
Pointer to a rendezvous object.
|
|
Opens the Rendezvous object. Must be called before other API:s on a Rendezvous object.
|
|
Called by a thread when it's initialization is done. This will register that this thread is done initializing and will block the thread until the other threads are done initializing, after which all threads will be unblocked at once.
|
|
This call forces all threads blocking in Rendezvous_meet to unblock no matter what the state of the Rendezvous object. Useful for error cleanup.
|
|
Closes a previously opened Rendezvous object.
|