Parallel programming model: Difference between revisions

Content deleted Content added
m Reverting possible vandalism by 115.113.145.65 to version by 14.139.173.226. Report False Positive? Thanks, ClueBot NG. (2944515) (Bot)
Line 12:
====Shared memory====
{{main|Shared memory (interprocess communication)}}
Shared memory is an efficient means of passing data between processes.hello bc.In a shared-memory model, parallel processes share a global address space that they read and write to asynchronously. Asynchronous concurrent access can lead to [[race condition]]s and mechanisms such as [[Lock (computer science)|locks]], [[Semaphore (programming)|semaphores]] and [[Monitor (synchronization)|monitors]] can be used to avoid these. Conventional [[multi-core processor]]s directly support shared memory, which many parallel programming languages and libraries, such as [[Cilk (programming language)|Cilk]], [[OpenMP]] and [[Threading Building Blocks]], are designed to exploit.
 
====Message passing====