Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

fnet_mutex_api_t Struct Reference

fnet_mutex_api_t Struct Reference
[Fnet_stack_init]

Mutex API. It should be defined by application if FNET_CFG_MULTITHREADING is enabled. More...

#include <fnet_stack.h>

Data Fields

fnet_return_t(* mutex_init )(fnet_mutex_t *)
 Create a new mutex.
void(* mutex_free )(fnet_mutex_t *)
 Delete a mutex.
void(* mutex_lock )(fnet_mutex_t *)
 Lock a mutex.
void(* mutex_unlock )(fnet_mutex_t *)
 Unlock a mutex.

Detailed Description

Mutex API. It should be defined by application if FNET_CFG_MULTITHREADING is enabled.

See also:
FNET_CFG_MULTITHREADING, fnet_init()

Definition at line 94 of file fnet_stack.h.


Field Documentation

Delete a mutex.

Parameter is pointer to the mutex to delete.

Definition at line 97 of file fnet_stack.h.

Create a new mutex.

Parameter is pointer to the mutex to create.

Definition at line 96 of file fnet_stack.h.

Lock a mutex.

Parameter is the mutex to lock.

Definition at line 98 of file fnet_stack.h.

Unlock a mutex.

Parameter is the mutex to unlock.

Definition at line 99 of file fnet_stack.h.