Merge pull request #5447 from FedericoCeratto/patch-25

Add note about passing channels between threads.
This commit is contained in:
Andreas Rumpf
2017-02-28 01:07:46 +01:00
committed by GitHub

View File

@@ -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".}