~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to util/ipc.h

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
#include <sys/ipc.h>
64
64
#include <sys/sem.h>
65
65
#include <semaphore.h>
 
66
#include <pthread.h>
66
67
 
67
68
typedef struct sem_struct {
68
69
    int sysv;
69
70
    sem_t * posix;
 
71
    pthread_mutex_t mutex;
 
72
    int usemutex;
70
73
    char * name;
71
74
} sem;
72
75