GNU libmicrohttpd 1.0.2
|
Header for platform-independent locks abstraction. More...
#include "mhd_options.h"
Go to the source code of this file.
Macros | |
#define | MHD_mutex_init_(ignore) |
#define | MHD_mutex_destroy_(ignore) |
#define | MHD_mutex_destroy_chk_(ignore) |
#define | MHD_mutex_lock_(ignore) |
#define | MHD_mutex_lock_chk_(ignore) |
#define | MHD_mutex_unlock_(ignore) |
#define | MHD_mutex_unlock_chk_(ignore) |
Header for platform-independent locks abstraction.
Provides basic abstraction for locks/mutex. 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_locks.h.
#define MHD_mutex_destroy_ | ( | ignore | ) |
Definition at line 193 of file mhd_locks.h.
#define MHD_mutex_destroy_chk_ | ( | ignore | ) |
Definition at line 194 of file mhd_locks.h.
Referenced by MHD_create_response_from_iovec(), MHD_destroy_response(), MHD_start_daemon_va(), and MHD_stop_daemon().
#define MHD_mutex_init_ | ( | ignore | ) |
Definition at line 192 of file mhd_locks.h.
Referenced by MHD_create_response_empty(), MHD_create_response_from_buffer_with_free_callback_cls(), MHD_create_response_from_callback(), MHD_create_response_from_iovec(), and MHD_start_daemon_va().
#define MHD_mutex_lock_ | ( | ignore | ) |
Definition at line 195 of file mhd_locks.h.
#define MHD_mutex_lock_chk_ | ( | ignore | ) |
Definition at line 196 of file mhd_locks.h.
Referenced by calculate_add_nonce(), check_nonce_nc(), cleanup_connection(), close_all_connections(), close_connection(), internal_add_connection(), internal_suspend_connection_(), MHD_accept_connection(), MHD_check_global_init_(), MHD_cleanup_connections(), MHD_connection_handle_idle(), MHD_connection_handle_write(), MHD_destroy_response(), MHD_increment_response_rc(), MHD_ip_count_lock(), MHD_resume_connection(), MHD_set_connection_option(), MHD_update_last_activity_(), new_connection_process_(), new_connections_list_process_(), and resume_suspended_connections().
#define MHD_mutex_unlock_ | ( | ignore | ) |
Definition at line 197 of file mhd_locks.h.
#define MHD_mutex_unlock_chk_ | ( | ignore | ) |
Definition at line 198 of file mhd_locks.h.
Referenced by calculate_add_nonce(), check_nonce_nc(), cleanup_connection(), close_all_connections(), close_connection(), internal_add_connection(), internal_suspend_connection_(), MHD_accept_connection(), MHD_check_global_init_(), MHD_cleanup_connections(), MHD_connection_handle_idle(), MHD_connection_handle_write(), MHD_destroy_response(), MHD_increment_response_rc(), MHD_ip_count_unlock(), MHD_resume_connection(), MHD_set_connection_option(), MHD_update_last_activity_(), new_connection_process_(), new_connections_list_process_(), resume_suspended_connections(), try_ready_chunked_body(), and try_ready_normal_body().