# nopoll_thread_handlers

Definition: | include nopoll.e nopoll_thread_handlers()
Description: | Set the global optional mutex handlers used by noPoll library to create, destroy, lock and unlock mutexes. If you set this handlers, the library will use these functions to secure sensitive code paths that must be protected while working with threads. If not provided, the library will work as usual without doing any locking. Note that, unlike the C version of this routine, this installs standard handlers, and there is no way to uninstall them. Some applications, especially single-threaded ones, may be slightly faster without these routines, which is why they are not automatically installed. There is, of course, no need to install these routines unless you or something else is calling create_thread().