wxThread::GetCurrentId() for Unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-01-16 06:30:27 +00:00
parent 4958ea8f7b
commit 1fcfb40de3

View File

@@ -928,6 +928,11 @@ int wxThread::GetCPUCount()
return -1;
}
unsigned long wxThread::GetCurrentId()
{
return (unsigned long)pthread_self();
}
bool wxThread::SetConcurrency(size_t level)
{
#ifdef HAVE_THR_SETCONCURRENCY