Function bsem_destroy

Function Documentation

void bsem_destroy(struct bsem *sem)

Destroy a binary semaphore.

Any further use of the semaphore after calling this function is undefined.

Parameters:

sem – The semaphore to destroy.