0
19kviews
Describe the methods of task synchronization and explain any one in details.
1 Answer
1
693views

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 …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.