- Main Page
- Namespaces
- Classes
- Files

- Search for |

# reac_thread.h

    00001 // "reac_thread.h"
    00002
    00003 // (c) OPAC Team, LIFL, August 2005
    00004
    00005 /*
    00006    Contact: paradiseo-help@lists.gforge.inria.fr
    00007 */
    00008
    00009 #ifndef REAC_THREAD_H_
    00010 #define REAC_THREAD_H_
    00011
    00012 #include <semaphore.h>
    00013
    00014 #include "thread.h"
    00015
    00016 class ReactiveThread : public Thread {
    00017
    00018 public:
    00019
    00020   /* Ctor */
    00021   ReactiveThread ();
    00022
    00023   void sleep ();
    00024
    00025   void wakeUp ();
    00026
    00027 private:
    00028
    00029   sem_t sem;
    00030
    00031 };
    00032
    00033 extern void stopReactiveThreads ();
    00034
    00035 #endif /*THREAD_H_*/