From acc1d40020a4496632b54d0cb219954da7c6b626 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Fri, 9 Aug 2019 17:52:03 -0400 Subject: [PATCH] Add new spawn=true Channel param to NEWS --- NEWS.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index c440932b0ebd76..585b360178ffc4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,8 +20,10 @@ Multi-threading changes ([#32309], [#32174], [#31981], [#32421]). * The global random number generator (`GLOBAL_RNG`) is now thread-safe (and thread-local) ([#32407]). * New experimental `Threads.@spawn` macro that runs a task on any available thread ([#32600]). -* Simplified the `Channel` constructor, which is now easier to read and more idiomatic julia. - The old constructor (which used kwargs) is still available, but use is discouraged ([#30855], [#32818]). +* New `Channel(f::Function)` constructor param (`spawn=true`) to schedule created Task on + any available thread ([#...]). Also simplified the `Channel` constructor, which is now + easier to read and more idiomatic julia. The old constructor (which used kwargs) is still + available, but use is discouraged ([#30855], [#32818]). Build system changes --------------------