JeeH version 5.3.0 release notes and highlights:
This release brings a number of major changes:
-
Tasks have been renamed to Threads … because that’s what they really are.
-
And with that out of the way: a new
...Task
type has been added, to support asynchronous processing, i.e. an “async/await” style of doing work which does not run in a separate thread. This reduces overhead and avoids the need for a separate stack. A task in JeeH is a bit like a crossover between a thread and a driver: you can send it messages, but like a driver it runs to completion (i.e. until it returns) and is not allowed to block or suspend. For details, see the Threads vs Async I/O article.