Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
danesparza
on Jan 19, 2021
|
parent
|
context
|
favorite
| on:
Non-Blocking Parallelism for Services in Go
Nope. I think this line indicates the work is simply queued, and the call is returned immediately:
queue = append(queue, m)
andonisus
on Jan 19, 2021
[–]
Yes, that is my solution which uses the queue. I mean what the author of the post was doing would block, and I offered the code as how I do it in a non-blocking way. Sorry for the confusion!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
queue = append(queue, m)