1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-11-04 06:31:41 +03:00
Files
libhttp/doc/api/httplib_pthread_cond_broadcast.md
2016-12-20 08:49:48 +01:00

1.1 KiB

LibHTTP API Reference

httplib_pthread_cond_broadcast( cv );

Parameters

Parameter Type Description
cv pthread_cond_t * The condition which a thread is waiting on

Return Value

Type Description
int Integer value with a success or error code of the function call

Description

The platform independent function httplib_pthread_cond_broadcast() unlocks all threads waiting on a specific condition. The function returns 0 when successful and an error code otherwise. On systems which support it, the functionality is implemented as a direct call to pthread_cond_broadcast(). Otherwise an OS dependent alternative implementation is used to emulate the same behavior.

See Also