mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 15:44:14 +00:00
Merge pull request #5447 from FedericoCeratto/patch-25
Add note about passing channels between threads.
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
##
|
||||
## **Note:** The current implementation of message passing is slow and does
|
||||
## not work with cyclic data structures.
|
||||
## **Note:** Channels cannot be passed between threads. Use globals or pass
|
||||
## them by `ptr`.
|
||||
|
||||
when not declared(NimString):
|
||||
{.error: "You must not import this module explicitly".}
|
||||
|
||||
Reference in New Issue
Block a user