File:  [DVB] / dietlibc / lib / cnd_signal.c
Revision 1.1: download - view: text, annotated - select for diffs
Wed Mar 19 09:00:12 2014 UTC (10 years, 2 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
thread library checkin

#include <threads.h>
#include <sys/futex.h>

int cnd_signal(cnd_t* cond) {
  cond->sem=1;
  futex(&cond->sem,FUTEX_WAKE,1,0,0,0);
  return thrd_success;
}

LinuxTV legacy CVS <linuxtv.org/cvs>