Revision af1979bc6bd6b9ffbffd202fe2e5c1d588948e6c authored by Nathan Daly on 15 August 2019, 22:38:37 UTC, committed by Jeff Bezanson on 15 August 2019, 22:38:36 UTC
Add a parameter to the Channel constructor to allow the Tasks it creates
to be scheduled on multiple threads.

Examples:
```julia
    # Spawn a Task to handle each input request
    ch = Channel{String}(0, spawn=true) do ch
        handle_request(ch, request)
    end
```

Adds a manual check that users don't use the `spawn=` keyword argument
with the deprecated keyword arguments `ctype=` or `csize=`.
1 parent 1f564ce
History
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.4 KB
LICENSE.md -rw-r--r-- 5.1 KB
Make.inc -rw-r--r-- 39.9 KB
Makefile -rw-r--r-- 28.1 KB
NEWS.md -rw-r--r-- 7.9 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 12 bytes
sysimage.mk -rw-r--r-- 3.8 KB

README.md

back to top