libcoap 4.3.5-develop-19cef11
|
CoAP mutex mechanism wrapper. More...
Go to the source code of this file.
Macros | |
#define | coap_mutex_init(a) *(a) = 0 |
#define | coap_mutex_destroy(a) *(a) = 0 |
#define | coap_mutex_lock(a) *(a) = 1 |
#define | coap_mutex_trylock(a) *(a) = 1 |
#define | coap_mutex_unlock(a) *(a) = 0 |
#define | coap_thread_pid_t int |
#define | coap_thread_pid 1 |
Typedefs | |
typedef int | coap_mutex_t |
CoAP mutex mechanism wrapper.
Definition in file coap_mutex_internal.h.
#define coap_mutex_destroy | ( | a | ) | *(a) = 0 |
Definition at line 144 of file coap_mutex_internal.h.
#define coap_mutex_init | ( | a | ) | *(a) = 0 |
Definition at line 143 of file coap_mutex_internal.h.
#define coap_mutex_lock | ( | a | ) | *(a) = 1 |
Definition at line 145 of file coap_mutex_internal.h.
#define coap_mutex_trylock | ( | a | ) | *(a) = 1 |
Definition at line 146 of file coap_mutex_internal.h.
#define coap_mutex_unlock | ( | a | ) | *(a) = 0 |
Definition at line 147 of file coap_mutex_internal.h.
#define coap_thread_pid 1 |
Definition at line 149 of file coap_mutex_internal.h.
#define coap_thread_pid_t int |
Definition at line 148 of file coap_mutex_internal.h.
typedef int coap_mutex_t |
Definition at line 141 of file coap_mutex_internal.h.