File: drd_cond_initializer.c

package info (click to toggle)
valgrind 1%3A3.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 58,060 kB
  • sloc: ansic: 396,820; xml: 18,453; cpp: 6,698; asm: 5,584; perl: 5,008; sh: 4,852; makefile: 3,965; exp: 625; haskell: 195
file content (8 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
/* Make the value of PTHREAD_COND_INITIALIZER available to DRD. */

#include "drd_cond.h"
#include <pthread.h>

static pthread_cond_t pthread_cond_initializer = PTHREAD_COND_INITIALIZER;
Addr DRD_(pthread_cond_initializer) = (Addr)&pthread_cond_initializer;
int DRD_(pthread_cond_initializer_size) = sizeof(pthread_cond_initializer);