Synchronization (computer science): Difference between revisions

Content deleted Content added
m Reverted edits by 46.32.127.255 (talk) (HG) (3.4.10)
Shaynes75 (talk | contribs)
m Fixed grammar
Tags: Mobile edit Mobile app edit
Line 9:
''[[Fork–join model|Forks and Joins]]:'' When a job arrives at a fork point, it is split into N sub-jobs which are then serviced by n tasks. After being serviced, each sub-job waits until all other sub-jobs are done processing. Then, they are joined again and leave the system. Thus, parallel programming requires synchronization as all the parallel processes wait for several other processes to occur.
 
''[[Producer–consumer problem|Producer-Consumer:]]'' In a producer-consumer relationship, the consumer process is dependent on the producer process tilluntil the necessary data has been produced.
 
''Exclusive use resources:'' When multiple processes are dependent on a resource and they need to access it at the same time, the operating system needs to ensure that only one processor accesses it at a given point in time. This reduces concurrency.