Embedded TCP/IP stack: fnet_mutex_api_t Struct Reference

FNET

fnet_mutex_api_t Struct Reference

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

Data Fields

fnet_return_t(* mutex_init )(fnet_mutex_t *)
 Create a new mutex. Parameter is pointer to the mutex to create. More...
 
void(* mutex_free )(fnet_mutex_t *)
 Delete a mutex. Parameter is pointer to the mutex to delete. More...
 
void(* mutex_lock )(fnet_mutex_t *)
 Lock a mutex. Parameter is the mutex to lock. More...
 
void(* mutex_unlock )(fnet_mutex_t *)
 Unlock a mutex. Parameter is the mutex to unlock. More...
 

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 95 of file fnet_stack.h.


The documentation for this struct was generated from the following file:

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net