Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Compile fix for DISABLE_CONTEXT_SWITCHING build.

  • Loading branch information...
commit 96fc0f52c3d9b532a5a40d38ddfc84f0d0c891fd 1 parent 7c61390
@mavam mavam authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/thread_pool_scheduler.cpp
View
4 src/thread_pool_scheduler.cpp
@@ -292,8 +292,8 @@ actor_ptr thread_pool_scheduler::spawn(void_function what, scheduling_hint sh) {
}
actor_ptr thread_pool_scheduler::spawn(void_function what,
- scheduling_hint sh,
- init_callback init_cb) {
+ init_callback init_cb,
+ scheduling_hint sh) {
return spawn_as_thread(std::move(what),
std::move(init_cb),
sh == detached_and_hidden);
Please sign in to comment.
Something went wrong with that request. Please try again.