Salome HOME
projects
/
modules
/
yacs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR: what YACS means
[modules/yacs.git]
/
src
/
bases
/
Thread.hxx
1
#ifndef __THREAD_HXX__
2
#define __THREAD_HXX__
3
4
/* Interface is :
5
class Thread
6
{
7
public:
8
typedef void *(*ThreadJob)(void*);
9
public:
10
Thread(ThreadJob funcPtr, void *stack);
11
bool operator==(const Thread& other);
12
void join();
13
static void sleep(unsigned long usec);
14
};
15
*/
16
17
#if defined(YACS_PTHREAD)
18
#include "ThreadPT.hxx"
19
20
namespace YACS
21
{
22
namespace BASES
23
{
24
typedef ThreadPT Thread;
25
}
26
}
27
#else
28
#error
29
#endif
30
31
#endif