Chord (concurrency)
   HOME





Chord (concurrency)
A chord is a concurrency construct available in Polyphonic C sharp, 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. 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

{{reflist, 1 Concurrency (computer science) ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]   [Amazon]


Polyphonic C Sharp
Language Integrated Query (LINQ, pronounced "link") is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages, originally released as a major part of .NET Framework 3.5 in 2007. LINQ extends the language by the addition of query expressions, which are akin to SQL statements, and can be used to conveniently extract and process data from arrays, enumerable classes, XML documents, relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers or monadic parsers. It also defines a set of method names (called ''standard query operators'', or ''standard sequence operators''), along with translation rules used by the compiler to translate query syntax expressions into expressions using fluent-style (called method syntax by Microsoft) with these method names, lambda expressions and anonymous ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]   [Amazon]


Join-calculus
The join-calculus is a process calculus developed at INRIA. The join-calculus was developed to provide a formal basis for the design of distributed programming languages, and therefore intentionally avoids communications constructs found in other process calculi, such as rendezvous communications, which are difficult to implement in a distributed setting. Despite this limitation, the join-calculus is as expressive as the full π-calculus. Encodings of the π-calculus in the join-calculus, and vice versa, have been demonstrated. The join-calculus is a member of the π-calculus family of process calculi, and can be considered, at its core, an asynchronous π-calculus with several strong restrictions: *Scope restriction, reception, and replicated reception are syntactically merged into a single construct, the ''definition''; *Communication occurs only on defined names; *For every defined name there is exactly one replicated reception. However, as a language for programming, the join-ca ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]   [Amazon]