Skip to content
#

semaphores-locking

Here are 19 public repositories matching this topic...

Producer and Consumer are part of an application. The producer access a two dim matrix of int (of 100 x 100) and produces the memory address as an item and store it in a array of pointers to int. The consumers compete and get an entry of the array that corresponds to a row, and finds the number of primes in that row and adds it to a shared sum

  • Updated Dec 15, 2022
  • C

Improve this page

Add a description, image, and links to the semaphores-locking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the semaphores-locking topic, visit your repo's landing page and select "manage topics."

Learn more