noPollPtr nopoll_mutex_create ( void  )

Creates a mutex with the defined create mutex handler.

See nopoll_thread_handlers for more information.

Returns
A mutex reference or NULL if it fails.

Referenced by nopoll_conn_opts_new(), nopoll_ctx_new(), and nopoll_listener_from_socket().