◆ SleepMs()
| void duckdb::ThreadUtil::SleepMs |
( |
idx_t | ms | ) |
|
|
static |
110365 {
110366 std::this_thread::sleep_for(std::chrono::milliseconds(sleep_ms));
110367}
◆ SleepMicroSeconds()
| void duckdb::ThreadUtil::SleepMicroSeconds |
( |
idx_t | micros | ) |
|
|
static |
110369 {
110370 std::this_thread::sleep_for(std::chrono::microseconds(micros));
110371}
◆ GetThreadId()
| thread_id duckdb::ThreadUtil::GetThreadId |
( |
| ) |
|
|
static |
110373 {
110374 return std::this_thread::get_id();
110375}
◆ GetThreadIdString()
| string duckdb::ThreadUtil::GetThreadIdString |
( |
| ) |
|
|
static |
110377 {
110378 std::ostringstream ss;
110379 ss << std::this_thread::get_id();
110380 return ss.str();
110381}
The documentation for this struct was generated from the following file: