mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
13 lines
253 B
C++
13 lines
253 B
C++
#pragma once
|
|
#include <sys/types.h>
|
|
|
|
namespace DB
|
|
{
|
|
/*
|
|
* Waits for a specific pid with timeout
|
|
* Returns `true` if process terminated successfully in specified timeout or `false` otherwise
|
|
*/
|
|
bool waitForPid(pid_t pid, size_t timeout_in_seconds);
|
|
|
|
}
|