0
19kviews
Describe the methods of task synchronization and explain any one in details.
1 Answer
written 5.3 years ago by | • modified 5.3 years ago |
The methods of task synchronization are:
Synchronization primitives
Semaphore: counting semaphore and binary semaphore
A semaphore is created with initial count, which is the number of allowed holders of the semaphore lock. (initial count=1: binary sem) . Sem wait will decrease the count; while sem_signal will increase it. A task …