Add note about passing channels between threads.

This commit is contained in:
Federico Ceratto 2017-02-27 21:44:44 +00:00 • committed by GitHub
commit d5054c3081

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