Removed (broken) support for MPThreads (Mac OS 9)

This commit is contained in:
Ray Speth 2012-05-17 21:15:05 +00:00
parent 021e11456e
commit cbae64b079
2 changed files with 0 additions and 17 deletions

View file

@ -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

View file

@ -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.