GNU libmicrohttpd
0.9.59
|
Header for platform-independent inter-thread communication. More...
Go to the source code of this file.
Macros | |
#define | MHD_PANIC(msg) |
#define | MHD_itc_destroy_chk_(itc) |
#define | MHD_ITC_IS_INVALID_(itc) (! MHD_ITC_IS_VALID_(itc)) |
Header for platform-independent inter-thread communication.
Provides basic abstraction for inter-thread communication. Any functions can be implemented as macro on some platforms unless explicitly marked otherwise. Any function argument can be skipped in macro, so avoid variable modification in function parameters.
Definition in file mhd_itc.h.
#define MHD_itc_destroy_chk_ | ( | itc | ) |
Destroy previously initialised ITC and abort execution if error is detected.
itc | the itc to destroy |
Definition at line 345 of file mhd_itc.h.
Referenced by MHD_start_daemon_va(), and MHD_stop_daemon().
#define MHD_ITC_IS_INVALID_ | ( | itc | ) | (! MHD_ITC_IS_VALID_(itc)) |
Check whether ITC has invalid value.
Macro check whether itc value is invalid, macro does not check whether itc was destroyed.
itc | the itc to check |
Definition at line 359 of file mhd_itc.h.
Referenced by MHD_stop_daemon().