mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
style
This commit is contained in:
@@ -220,10 +220,13 @@ void ProcessImpl::killImpl(PIDImpl pid)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
||||||
{
|
{
|
||||||
return isRunningImpl(handle.id());
|
return isRunningImpl(handle.id());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ProcessImpl::isRunningImpl(PIDImpl pid)
|
bool ProcessImpl::isRunningImpl(PIDImpl pid)
|
||||||
{
|
{
|
||||||
if (kill(pid, 0) == 0)
|
if (kill(pid, 0) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user