Chord (concurrency)
From Wikipedia, the free encyclopedia
| This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions may be available. (February 2009) |
A chord is a concurrency construct available in Polyphonic C♯ and Cω inspired by the join pattern of the join-calculus.
[edit] Synchronicity
Cω defines two types of functions synchronous and asynchronous. A synchronous function acts like a standard function in most Object-Oriented Language, upon invocation the function body is executed and a return value may or may not be returned to the caller. An asynchronous function acts similar to a function that returns void except that it is guaranteed to return immediately with the execution being done in a separate thread.
[edit] Chord Definition
A chord is a function body that is associated with multiple function headers and cannot execute until all function headers are called.[1]
[edit] References
- ^ "Cω Overview". http://research.microsoft.com/Comega/doc/comega_whatis.htm. Retrieved 2008-07-10.