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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user