MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / bsem_reset

Function bsem_reset

src/util/thpool/thpool.c:565–567  ·  view source on GitHub ↗

Reset semaphore to 0 */

Source from the content-addressed store, hash-verified

563
564/* Reset semaphore to 0 */
565static void bsem_reset(bsem *bsem_p) {
566 bsem_init(bsem_p, 0);
567}
568
569/* Post to at least one thread */
570static void bsem_post(bsem *bsem_p) {

Callers 1

jobqueue_clearFunction · 0.85

Calls 1

bsem_initFunction · 0.85

Tested by

no test coverage detected