mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-07 16:02:55 +03:00
Made pthread_mutex_unlock global
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
#define SIGKILL (0)
|
||||
|
||||
typedef HANDLE pthread_t;
|
||||
typedef HANDLE pthread_mutex_t;
|
||||
typedef DWORD pthread_key_t;
|
||||
|
||||
#else /* _WIN32 */
|
||||
@@ -984,6 +985,7 @@ LIBHTTP_API int httplib_kill( pid_t pid, int sig_num );
|
||||
LIBHTTP_API int httplib_mkdir( const char *path, int mode );
|
||||
LIBHTTP_API DIR * httplib_opendir( const char *name );
|
||||
LIBHTTP_API int httplib_poll( struct pollfd *pfd, unsigned int nfds, int timeout );
|
||||
LIBHTTP_API int httplib_pthread_mutex_unlock( pthread_mutex_t *mutex );
|
||||
LIBHTTP_API pthread_t httplib_pthread_self( void );
|
||||
LIBHTTP_API int httplib_pthread_setspecific( pthread_key_t key, const void *value );
|
||||
LIBHTTP_API struct dirent * httplib_readdir( DIR *dir );
|
||||
|
Reference in New Issue
Block a user