1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00
Files
libhttp/doc/api/httplib_unlock_context.md
2016-12-13 13:21:21 +01:00

24 lines
694 B
Markdown

# LibHTTP API Reference
### `httplib_unlock_context( ctx );`
### Parameters
| Parameter | Type | Description |
| :--- | :--- | :--- |
|**`ctx`**|`struct httplib_context *`|The context to remove the lock from|
### Return Value
*none*
### Description
The function `httplib_unlock_contect()` removes a lock put previously on a context with a call to [`httplib_lock_context()`](httplib_lock_context.md). Locking a context may be necessary when accessing shared resources.
### See Also
* [`httplib_lock_connection();`](httplib_lock_connection.md)
* [`httplib_lock_context();`](httplib_lock_context.md)
* [`httplib_unlock_connection();`](httplib_unlock_connection.md)