libcoap 4.3.5rc1-develop-0fbe59f
coap_threadsafe_internal.h File Reference

CoAP mapping of locking functions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define coap_lock_lock(c, failed)
 
#define coap_lock_unlock(c)
 
#define coap_lock_init(c)
 
#define coap_lock_being_freed(c, failed)
 
#define coap_lock_check_locked(c)   {}
 
#define coap_lock_callback(c, func)   func
 
#define coap_lock_callback_ret(r, c, func)   (r) = func
 
#define coap_lock_callback_release(c, func, failed)   func
 
#define coap_lock_callback_ret_release(r, c, func, failed)   (r) = func
 
#define coap_lock_invert(c, func, f)   func
 

Typedefs

typedef coap_mutex_t coap_lock_t
 

Detailed Description

CoAP mapping of locking functions.

Definition in file coap_threadsafe_internal.h.

Macro Definition Documentation

◆ coap_lock_being_freed

#define coap_lock_being_freed (   c,
  failed 
)

Definition at line 458 of file coap_threadsafe_internal.h.

◆ coap_lock_callback

#define coap_lock_callback (   c,
  func 
)    func

Definition at line 460 of file coap_threadsafe_internal.h.

◆ coap_lock_callback_release

#define coap_lock_callback_release (   c,
  func,
  failed 
)    func

Definition at line 462 of file coap_threadsafe_internal.h.

◆ coap_lock_callback_ret

#define coap_lock_callback_ret (   r,
  c,
  func 
)    (r) = func

Definition at line 461 of file coap_threadsafe_internal.h.

◆ coap_lock_callback_ret_release

#define coap_lock_callback_ret_release (   r,
  c,
  func,
  failed 
)    (r) = func

Definition at line 463 of file coap_threadsafe_internal.h.

◆ coap_lock_check_locked

#define coap_lock_check_locked (   c)    {}

Definition at line 459 of file coap_threadsafe_internal.h.

◆ coap_lock_init

#define coap_lock_init (   c)

Definition at line 457 of file coap_threadsafe_internal.h.

◆ coap_lock_invert

#define coap_lock_invert (   c,
  func,
 
)    func

Definition at line 464 of file coap_threadsafe_internal.h.

◆ coap_lock_lock

#define coap_lock_lock (   c,
  failed 
)

Definition at line 455 of file coap_threadsafe_internal.h.

◆ coap_lock_unlock

#define coap_lock_unlock (   c)

Definition at line 456 of file coap_threadsafe_internal.h.

Typedef Documentation

◆ coap_lock_t

Definition at line 453 of file coap_threadsafe_internal.h.