logoalt Hacker News

threatofrainlast Friday at 8:35 PM1 replyview on HN

> Concurrency: the ability of a system to progress multiple tasks at a time, be it via parallelism or task switching.

Okay, but don't go with this definition.


Replies

michaelsbradleylast Friday at 9:50 PM

Is the hang up on "at a time"? What if that were changed to something like "in a given amount of time"?

For single threaded programs, whether it is JS's event loop, or Racket's cooperative threads, or something similar, if Δt is small enough then only one task will be seen to progress.