c/thread/cnd broadcast

Unblocks all thread that currently wait on condition variable pointed to by. If no threads are blocked, does nothing and returns.

Return value
thrd_success if successful, thrd_error otherwise.