ifdef out a few unix specifics for win32
This commit is contained in:
parent
51096becb9
commit
8d10e18580
|
@ -221,7 +221,11 @@ main
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef WIN32
|
||||||
|
LDEB("New thread created [" + Utils::ulongtostr(nconns) + "] thread_id: " + Utils::ulongtostr(thread.t) + ":" + Utils::ulongtostr(thread.x));
|
||||||
|
#else
|
||||||
LDEB("New thread created [" + Utils::ulongtostr(nconns) + "] thread_id: " + Utils::ulongtostr(thread));
|
LDEB("New thread created [" + Utils::ulongtostr(nconns) + "] thread_id: " + Utils::ulongtostr(thread));
|
||||||
|
#endif //WIN32
|
||||||
pthread_mutex_lock(&childrenlist_mutex);
|
pthread_mutex_lock(&childrenlist_mutex);
|
||||||
children.push_back(nconns);
|
children.push_back(nconns);
|
||||||
pthread_mutex_unlock(&childrenlist_mutex);
|
pthread_mutex_unlock(&childrenlist_mutex);
|
||||||
|
|
Loading…
Reference in a new issue