Correct wxThread::SetPriority() under Unix to hopefully work.
The old implementation was completely broken, the new should hopefully work if pthread_setschedparam() behaviour really corresponds to its documentation. Mapping of our priorities in 0..100 range to pthread 1..99 range remains ugly but this seems to be unavoidable, unfortunately. Closes #14985. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,7 @@ All:
|
||||
- Allow iterating over wxCmdLineParser arguments in order (Armel Asselin).
|
||||
- Add wxScopedArray ctor taking the number of elements to allocate.
|
||||
- Add wxDynamicLibrary::GetModuleFromAddress() (Luca Bacci).
|
||||
- Implement wxThread::SetPriority() for pthreads (Luca Bacci).
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
Reference in New Issue
Block a user