Skip to content

Commit

Permalink
win,libuv: support multiple threads (#32211)
Browse files Browse the repository at this point in the history
turns off the "do not work" flag

fix #32087
  • Loading branch information
vtjnash authored and JeffBezanson committed Jun 3, 2019
1 parent 4d7e78b commit 9dceb46
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
029014b8630e06ee92809c0b9220bcad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23cd3319e1f0ff1bd06908e4c69c98dc67163d49ad4d7f94a6a6aba7c4d292dc5a505086660b00eb0f76afa212e1799e44fd541cc377913129dea484bd9cda3b
2 changes: 1 addition & 1 deletion deps/libuv.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LIBUV_BRANCH=julia-uv2-1.24.0
LIBUV_SHA1=2348256acf5759a544e5ca7935f638d2bc091d60
LIBUV_SHA1=26dbe5672c33fc885462c509fe2a9b36f35866fd
4 changes: 0 additions & 4 deletions src/partr.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@ JL_DLLEXPORT jl_task_t *jl_task_get_next(jl_value_t *getsticky)
}
uv_loop_t *loop = jl_global_event_loop();
loop->stop_flag = 0;
#ifdef _OS_WINDOWS_
active = uv_run(loop, _threadedregion ? UV_RUN_NOWAIT : UV_RUN_ONCE);
#else
active = uv_run(loop, UV_RUN_ONCE);
#endif
JL_UV_UNLOCK();
// optimization: check again first if we added work for ourself
task = get_next_task(getsticky);
Expand Down

0 comments on commit 9dceb46

Please sign in to comment.