Use pthread_setconcurrency() in wxThread::SetConcurrency().

Use POSIX function if available instead of only using Solaris-specific
thr_setconcurrency() which is not found in modern Linux systems any more.

Closes #2115.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-03-22 00:12:40 +00:00
parent 84484a8ddd
commit 32632baf6d
5 changed files with 130 additions and 9 deletions

View File

@@ -1117,6 +1117,9 @@
/* Define if you have thr_setconcurrency function */
#undef HAVE_THR_SETCONCURRENCY
/* Define if you have pthread_setconcurrency function */
#undef HAVE_PTHREAD_SET_CONCURRENCY
/* Define if you have the uname function. */
#undef HAVE_UNAME