Simple library to exchange data between the 2 cores of a Raspberry Pi Pico under Arduino IDE framework
-
Updated
Apr 2, 2023 - C++
Simple library to exchange data between the 2 cores of a Raspberry Pi Pico under Arduino IDE framework
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
"This repository showcases the implementation of semaphores, a synchronization tool."
OPERATING SYSTEMS - Assignment @hcmus
It is a version of the philosophers dining problem, which examines the behavioral properties of concurrent processes, solved separately using mutex and semaphore.
Monitor Synchronization in Examples
Safe usage of POSIX Semaphores (`sem_post`, `sem_wait`, etc).
Add a description, image, and links to the semaphore-synchronization topic page so that developers can more easily learn about it.
To associate your repository with the semaphore-synchronization topic, visit your repo's landing page and select "manage topics."