| 237 | } |
| 238 | |
| 239 | bool EXTThread::isCurrentThread() |
| 240 | { |
| 241 | #ifdef EXT_BOOST |
| 242 | return (bthread.get_id() == boost::this_thread::get_id()); |
| 243 | #else |
| 244 | return pthread_equal(pthread_self(), pthread); |
| 245 | #endif |
| 246 | } |
| 247 | |
| 248 | #ifdef EXT_BOOST |
| 249 | boost::thread& EXTThread::getBthread() |