try queue setup
This commit is contained in:
parent
683d2186b0
commit
b6180881ea
|
@ -50,7 +50,7 @@ proc newSignalQueue*[T](
|
|||
result[].chan.open(maxItems)
|
||||
|
||||
proc send*[T](queue: SignalQueuePtr[T], msg: T): ?!void {.raises: [].} =
|
||||
## Sends a message to a thread. `msg` is deep copied.
|
||||
## Sends a message from a regular thread. `msg` is deep copied.
|
||||
## Note: may be blocking.
|
||||
##
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue