Skip to content

[#56] Fix update current thread priority for linux and make an enum#160

Closed
CMurtagh-LGTM wants to merge 3 commits intomainfrom
cmurtagh/priority_fixes
Closed

[#56] Fix update current thread priority for linux and make an enum#160
CMurtagh-LGTM wants to merge 3 commits intomainfrom
cmurtagh/priority_fixes

Conversation

@CMurtagh-LGTM
Copy link
Contributor

src/util/update_current_thread_priority.hpp
pthread implementation always set thread priority to 0.
windows implementation will skip setting priority when REALTIME.

Setting priority to a value [0:1000] seemed strange, changed to enum.

@CMurtagh-LGTM CMurtagh-LGTM changed the title Cmurtagh/priority fixes [#56] Fix update current thread priority for linux and make an enum Dec 15, 2024
@CMurtagh-LGTM
Copy link
Contributor Author

Superseded by #162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant