try queue setup

This commit is contained in:
Jaremy Creechley 2024-05-20 17:45:43 +03:00
parent 683d2186b0
commit b6180881ea
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ proc newSignalQueue*[T](
result[].chan.open(maxItems) result[].chan.open(maxItems)
proc send*[T](queue: SignalQueuePtr[T], msg: T): ?!void {.raises: [].} = 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. ## Note: may be blocking.
## ##
try: try: