Removed (broken) support for MPThreads (Mac OS 9)
This commit is contained in:
parent
021e11456e
commit
cbae64b079
2 changed files with 0 additions and 17 deletions
|
|
@ -89,26 +89,12 @@ cthreadId_t getThisThreadId()
|
|||
{
|
||||
return pthread_self() ;
|
||||
}
|
||||
#elif defined(BOOST_HAS_MPTASKS)
|
||||
typedef MPTaskID cthreadId_t ;
|
||||
class thread_equal
|
||||
{
|
||||
public:
|
||||
bool operator()(cthreadId_t L, cthreadId_t R) {
|
||||
return L == R ;
|
||||
}
|
||||
} ;
|
||||
cthreadId_t getThisThreadId()
|
||||
{
|
||||
return MPCurrentTaskID() ;
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define DIR_LOCK()
|
||||
#define MSG_LOCK()
|
||||
#define APP_LOCK()
|
||||
//#define LOG_LOCK()
|
||||
#define XML_LOCK()
|
||||
|
||||
#ifdef WITH_HTML_LOGS
|
||||
|
|
|
|||
|
|
@ -33,10 +33,7 @@ class XML_Node;
|
|||
typedef unsigned int cthreadId_t;
|
||||
#elif defined(BOOST_HAS_PTHREADS)
|
||||
typedef pthread_t cthreadId_t;
|
||||
#elif defined(BOOST_HAS_MPTASKS)
|
||||
typedef MPTaskID cthreadId_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
//! Class to hold global data.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue