git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@810 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
f0b21ecfae
commit
7526792805
49 changed files with 449 additions and 420 deletions
|
|
@ -47,10 +47,10 @@ class Communicable {
|
|||
public :
|
||||
|
||||
Communicable ();
|
||||
|
||||
|
||||
virtual ~ Communicable ();
|
||||
|
||||
COMM_ID getKey ();
|
||||
COMM_ID getKey ();
|
||||
|
||||
void lock (); /* It suspends the current process if the semaphore is locked */
|
||||
void unlock (); /* It unlocks the shared semaphore */
|
||||
|
|
@ -67,7 +67,7 @@ protected :
|
|||
COMM_ID key;
|
||||
|
||||
sem_t sem_lock;
|
||||
|
||||
|
||||
sem_t sem_stop;
|
||||
};
|
||||
|
||||
|
|
@ -75,6 +75,4 @@ extern void initCommunicableEnv ();
|
|||
|
||||
extern Communicable * getCommunicable (COMM_ID __key);
|
||||
|
||||
//extern COMM_ID getKey (const Communicable * __comm);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue