Skip to content

Commit

Permalink
supernova: fix thread priority issues
Browse files Browse the repository at this point in the history
suggested by victor bombi

Signed-off-by: Tim Blechmann <tim@klingt.org>
  • Loading branch information
timblechmann committed Jan 6, 2013
1 parent 921fd95 commit d2df60a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion external_libraries/nova-tt
Submodule nova-tt updated from 921dcf to 2724ee
2 changes: 2 additions & 0 deletions server/supernova/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ void thread_init_functor::operator()(int thread_index)
int priority = instance->realtime_priority();
if (priority < 0)
success = false;
#elif _WIN32
int priority = thread_priority_interval_rt().second;
#else
int min, max;
boost::tie(min, max) = thread_priority_interval_rt();
Expand Down

0 comments on commit d2df60a

Please sign in to comment.