Chord (Concurrency)

From Handwiki

A chord is a concurrency construct available in Polyphonic C♯ and Cω inspired by the join pattern of the join-calculus. A chord is a function body that is associated with multiple function headers and cannot execute until all function headers are called.[1]

Synchronicity

Cω defines two types of functions: synchronous and asynchronous. A synchronous function acts like a normal function in typical imperative languages: upon invocation the function body is executed, and a return value may or may not be returned to the caller. An asynchronous function acts similarly to a synchronous function that immediately returns void, but also triggers execution of the actual code in another thread/execution context.

References

  1. "Cω Overview". http://research.microsoft.com/Comega/doc/comega_whatis.htm. Retrieved 2008-07-10. 



Retrieved from "https://handwiki.org/wiki/index.php?title=Chord_(concurrency)&oldid=3015903"

Categories: [Concurrency (computer science)]


Download as ZWI file | Last modified: 08/03/2024 10:51:59 | 9 views
☰ Source: https://handwiki.org/wiki/Chord_(concurrency) | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]