https://github.com/JuliaLang/julia
Revision 58bafe499b2acfa1ee722c4782c782ad50ebc04a authored by Jameson Nash on 21 June 2019, 17:17:53 UTC, committed by Jeff Bezanson on 21 June 2019, 17:17:52 UTC
This should hopefully cover most I/O operations which go through libuv to make them thread-safe.

There is no scaling here, just one big global lock, so expect
worse-than-single-threaded performance if doing I/O on multiple threads (as
compared to doing the same work on one thread). The intention is to handle
performance improvement incrementally later.

It also necessarily redesigns parts of the UDPSocket implementation
to properly handle concurrent (single-threaded) usage, as a necessary
part of making it handle parallel (thread-safe) usage.
1 parent dd56dbf
History
Tip revision: 58bafe499b2acfa1ee722c4782c782ad50ebc04a authored by Jameson Nash on 21 June 2019, 17:17:53 UTC
threads: expand thread-safe region for I/O (#32309)
Tip revision: 58bafe4
File Mode Size
.github
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 67 bytes
.gitignore -rw-r--r-- 257 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 21.2 KB
HISTORY.md -rw-r--r-- 258.0 KB
LICENSE.md -rw-r--r-- 5.1 KB
Make.inc -rw-r--r-- 39.7 KB
Makefile -rw-r--r-- 28.0 KB
NEWS.md -rw-r--r-- 2.6 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.7 KB

README.md

back to top