1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-09 03:22:45 +03:00

Made httplib_pthread_self global

This commit is contained in:
Lammert Bies
2016-12-19 14:02:45 +01:00
parent b67b84dafd
commit f895856a4a

View File

@@ -0,0 +1,19 @@
# LibHTTP API Reference
### `httplib_pthread_self();`
### Parameters
*none*
### Return Value
| Type | Description |
| :--- | :--- |
|`pthread_t`|An identifier specific for the current thread|
### Description
The function `httplib_pthread_self()` is a platform indepent function which returns an identifier which identifies the current thread. On systems which support it this is done with a call to the `pthread_self()` function. On other systems an OS specific function is used with equivalent functionality.
### See Also