mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
removed Mutex from Win32, split POSIX entry() function into two
This commit is contained in:
@@ -83,8 +83,6 @@ void ThreadImpl::setPriorityImpl(int prio)
|
||||
|
||||
void ThreadImpl::startImpl(Runnable& target)
|
||||
{
|
||||
Mutex::ScopedLock lock(_mutex);
|
||||
|
||||
if (isRunningImpl())
|
||||
throw SystemException("thread already running");
|
||||
|
||||
@@ -96,8 +94,6 @@ void ThreadImpl::startImpl(Runnable& target)
|
||||
|
||||
void ThreadImpl::startImpl(Callback target, void* pData)
|
||||
{
|
||||
Mutex::ScopedLock lock(_mutex);
|
||||
|
||||
if (isRunningImpl())
|
||||
throw SystemException("thread already running");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user