Wednesday, 14 December 2011

Main classifications and paradigms

Main Classifications of alongside programming models can be disconnected broadly into two areas: action alternation and botheration decomposition.

edit Action interaction

Process alternation relates to the mechanisms by which alongside processes are able to acquaint with anniversary other. The best accepted forms of alternation are aggregate anamnesis and bulletin passing, but it can additionally be implicit.

edit Aggregate memory

Main article: Aggregate memory

In a aggregate anamnesis model, alongside tasks allotment a all-around abode amplitude which they apprehend and address to asynchronously. This requires aegis mechanisms such as locks and semaphores to ascendancy circumstantial access. Aggregate anamnesis can be emulated on distributed-memory systems but non-uniform anamnesis admission (NUMA) times can appear in to play.

edit Bulletin passing

Main article: Bulletin passing

In a bulletin casual model, alongside tasks barter abstracts through casual letters to one another. These communications can be asynchronous or synchronous. The Communicating Sequential Processes (CSP) formalisation of message-passing active advice channels to 'connect' processes, and led to a cardinal of important languages such as Joyce, occam and Erlang.

No comments:

Post a Comment