ifdef out a few unix specifics for win32

This commit is contained in:
ps 2011-01-17 21:03:39 +00:00
parent 51096becb9
commit 8d10e18580

View file

@ -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);