×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • About
  • One Liner
  • RANDOM
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • AI Engineering
  • Scholarship
  • Campus Ambassador

semaphore

A collection of 2 posts

C++

Reader Writer Problem in C++ using semaphore and monitor

We will focus on solving the Reader Writer problem in C++ by using Semaphores as our first approach and Monitors as our second approach. It is a problem designed to illustrate synchronization within processes.

Kavita Bisht
C Programming

Semaphore in C

Semaphore is a data handling technique which is very useful in process synchronization and multithreading. We used the POSIX semaphore library and use the functions sem_wait, sem_post, sem_open and sem_init for implementing semaphore in C.

OpenGenus Tech Review Team OpenGenus Tech Review Team
OpenGenus IQ © 2026 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter