62.9k views
4 votes
What do you understand by concurrent programming? Discuss about synchronization primitives?

1 Answer

6 votes

Answer:

Concurrent programming is defined as, the execution of multiple concurrent interacting computational tasks. It is the process of creating by a single program. It is also known as parallel programming. The tasks also executing on a single processor, where several processors in close proximity or distribute across in the networking.

There are two techniques in concurrent computing system are:

  • Shared memory communication
  • Message passing communication

Synchronization primitives are simple software which support multi threading the kernel. These primitives are implemented by the atomic operation and use the appropriate memory barriers so that the user of these primitive are independent.

User Fafl
by
5.0k points