~ubuntu-branches/ubuntu/saucy/mutextrace/saucy-proposed

« back to all changes in this revision

Viewing changes to real.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon Richter
  • Date: 2009-11-30 15:26:21 UTC
  • Revision ID: james.westby@ubuntu.com-20091130152621-kxucetq7b43lx9fu
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef mutextrace_real_h_
 
2
#define mutextrace_real_h_ 1
 
3
 
 
4
#include <pthread.h>
 
5
 
 
6
extern int (*real_create)(pthread_t *, pthread_attr_t const *, void *(*)(void *), void *);
 
7
 
 
8
extern int (*real_mutex_init)(pthread_mutex_t *, pthread_mutexattr_t const *);
 
9
extern int (*real_mutex_destroy)(pthread_mutex_t *);
 
10
extern int (*real_mutex_lock)(pthread_mutex_t *);
 
11
extern int (*real_mutex_unlock)(pthread_mutex_t *);
 
12
 
 
13
extern int (*real_cond_init)(pthread_cond_t *, pthread_condattr_t const *);
 
14
extern int (*real_cond_wait)(pthread_cond_t *, pthread_mutex_t *);
 
15
extern int (*real_cond_signal)(pthread_cond_t *);
 
16
 
 
17
#endif