In Progress

C program using semaphores

Write a C program using semaphores or mutex locks for the following scenario:

A university computer science department has a teaching assistant (TA) that holds office hours where they provide help to undergraduate students with their programming assignments. The TA's office is rather small and only has room for one desk with a chair and a computer. There are three chairs outside the office where students may sit and wait if the TA is currently helping another student. If there are no available chairs in the waiting area, the student shows up at a later time. When the TA has finished helping a student, she goes outside to the waiting area to see if there are students waiting. If so, she takes the next student and begins to help them. If there are no waiting students, she returns to her chair in her office and takes a nap. If a student shows up and sees the TA sleeping, they sit in her chair and wake her up.

Skills: C Programming, C++ Programming, Software Architecture

See more: semaphore program in c with output, ipc semaphore example c, semaphore implementation in c, binary semaphore example in c, simple semaphore program in c, posix semaphore example in c, i am looking for a sample semaphore program on linux, counting semaphore example in c, Multithreaded C program using the Pthread API+, Multithreaded C program using the Pthread API, write a c program which can find the root of any function using secanet method, write code producer consumer problem using semaphores, write encrypted program using hill cipher, small program using classes, write airline reservation system program using structures

About the Employer:
( 0 reviews ) United States

Project ID: #16716927

Awarded to:


Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C programming. I will keep your time. And I will provide you quality work according to your instrument. More

$60 USD in 1 day
(50 Reviews)

14 freelancers are bidding on average $64 for this job


I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ More

$100 USD in 2 days
(136 Reviews)
$222 USD in 1 day
(38 Reviews)

Hy I am software engineer and have completed many programming projects including c, c++. Feel free to contact with me. Thank you

$100 USD in 1 day
(57 Reviews)

I'm very interesting in your project. I have 8+ years of c/c++ programming experience. If you give me the task I can offer you the best solution. Thanks, regards.

$25 USD in 1 day
(14 Reviews)

keen to do it, please discuss

$111 USD in 4 days
(12 Reviews)

Hi, how are [url removed, login to view] to meet you. I have long experience with C programming. I am sure you are fully satisfied with me in this project. I hope your response.

$30 USD in 2 days
(10 Reviews)

Hey, Thanks for posting the project. I have gone through your assignment and have got the code ready with me now. I can deliver it to you asap. Thanks!!

$15 USD in 1 day
(3 Reviews)

Hi there, I am an experienced c coder and have good experience using mutex and semaphores. I can help you do your work. Inbox me for more details

$45 USD in 5 days
(2 Reviews)

I have strong expertise in C, multi threading using mutex/semaphore.

$88 USD in 1 day
(0 Reviews)

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)

Having Good knowledge on multithreading , synchronisation mechanisms and Linux programing . I have three years experience embedded software development and design. Having good knowledge on LInux,VxWorkks and Windows pl More

$30 USD in 1 day
(0 Reviews)

price is negotiable I wanna start making my name in this website

$14 USD in 2 days
(0 Reviews)

Hello Sir, We are small startup having embedded service experience more than 5 years. Our expertise are C/C++, shell script, Python, JAVA, NodeJS languages. We have rich experience team for C/C++ based development. More

$26 USD in 1 day
(1 Review)