diff options
-rw-r--r-- | lib/system/channels.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/channels.nim b/lib/system/channels.nim index 4b8b895a5..42096323c 100644 --- a/lib/system/channels.nim +++ b/lib/system/channels.nim @@ -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".} |