aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_cond_signal.c
blob: 0dd9416bff4ac1b8db8ac43f48052fcd2d7773d8 (plain)
1
2
3
4
5
6
7
8
#include "pthread_impl.h"

int pthread_cond_signal(pthread_cond_t *c)
{
	c->__block = 0;
	__wake(&c->__block, 1, 0);
	return 0;
}