- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Recently I ran into an issue where I needed a low-priority task to temporarily be high-priority. The solution I came up with was to write a small function that repeatedly called OSTaskChangePrio() until it found a free priority, then do the swap.
Did I reinvent the wheel? It seems like this functionality should already exist in a multithreaded OS, especially when the number of available tasks is so small. Functions like getLowestFreePriority, getHighestFreePriority, etc.Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page