Home
last modified time | relevance | path

Searched refs:m_secs (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/thread/example/
Dthread.cpp15 thread_alarm(int secs) : m_secs(secs) { } in thread_alarm()
20 xt.sec += m_secs; in operator ()()
27 int m_secs; member
/third_party/boost/libs/interprocess/test/
Dsharable_mutex_test_template.hpp53 if(pdata->m_secs){ in plain_shared()
54 boost::interprocess::ipcdetail::thread_sleep((1000*pdata->m_secs*BaseSeconds)); in plain_shared()
77 if(pdata->m_secs){ in try_shared()
78 boost::interprocess::ipcdetail::thread_sleep((1000*pdata->m_secs*BaseSeconds)); in try_shared()
88 boost::posix_time::ptime pt(delay(pdata->m_secs)); in timed_exclusive()
102 boost::posix_time::ptime pt(delay(pdata->m_secs)); in timed_shared()
106 if(pdata->m_secs){ in timed_shared()
107 boost::interprocess::ipcdetail::thread_sleep((1000*pdata->m_secs*BaseSeconds)); in timed_shared()
Dutil.hpp78 : m_id(id), m_value(-1), m_secs(secs), m_error(no_error) in data()
82 int m_secs; member
Dmutex_test_template.hpp172 if(pdata->m_secs){ in lock_and_sleep()
173 boost::interprocess::ipcdetail::thread_sleep((1000*pdata->m_secs)); in lock_and_sleep()
190 if(pdata->m_secs){ in lock_and_catch_errors()
191 boost::interprocess::ipcdetail::thread_sleep((1000*pdata->m_secs)); in lock_and_catch_errors()
221 boost::posix_time::ptime pt(delay(pdata->m_secs)); in timed_lock_and_sleep()
/third_party/boost/libs/signals2/test/
Dmutex_test.cpp38 : done(false), m_secs(secs) { } in execution_monitor()
52 boost::posix_time::time_duration timeout = boost::posix_time::seconds(m_secs); in wait()
65 int m_secs; member in execution_monitor