Overview
| Artifact ID: | 0dfc0402328a76e37df7ae5d69b0f10eb0aabb43 |
|---|---|
| Ticket: | 762398ffffffffffffffffffffffffffffffffff
support thread priority (Windows only) |
| User & Date: | nobody on 2003-06-28 16:00:44 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
I patched the threadCmd.c (of thread 2.5.2 package) so you can change the thread priority in windows environments. Everything that is modified is enclosed in an #ifdef _USE_THREADPRIO/endif compiler statement. I don't know wether unix supports thread priorities. Thread priorities are "normal", "above", "below", "high", "low", "idle", "unknown" where unknown indicates an error. *** thread::configure ThreadId -priority returns one of the above names. If none of them does fit (should not happen) the int value is returned. If the thread doesn't have priority an empty string is returned. *** thread::configure ThreadId -priority NewThreadPriority changes the thread priority Note: at the moment no error is returned on a failure *** maybe someone decides to integrate this in standard thread library. Have fun with it! Harald
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "80. Thread Package"
- title changed to: "support thread priority (Windows only)"
- type changed to: "Patch"