Merge pull request #5447 from FedericoCeratto/patch-25
Add note about passing channels between threads.
This commit is contained in:
commit
e5fd37375e
1 changed files with 2 additions and 0 deletions
|
|
@ -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".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue