Threads in C - Simple multi-threading

Annulleret Opslået 4 år siden Betalt ved levering
Annulleret Betalt ved levering

Books in the Library

A group of students needs to use the same books to perform their term project. There are 28 students in the class (they have consecutive school numbers from 1 to 28) and all need the same 6 books from the library. The students arrive at the library in random order. There is a Qmatic in the library to talk to one of the 3 librarians. The librarians always call the next number from the existing queue.

When a student shows in front of one of the librarians, he/she asks the book he/she needs. The book needed is generated randomly. The librarian should check if the book was borrowed by any other student. If not, that book is assigned to that student for a random time period in milliseconds. If the book is borrowed by someone else the student should leave and go to the Qmatic once more.

Each librarian should be able to see the states of the books even if they were borrowed by another librarian.

Each student needs to read all of the 6 books to complete his/her term project.

The project will be implemented with C and using threads is a must.

Algoritme C programmering Software Arkitektur

Projekt ID: #19744987

Om projektet

5 bud Remote projekt Aktiv 4 år siden

5 freelancere byder i gennemsnit $64 timen for dette job

it2051229

Hi there, I do C programming and I know how to work with threads specifically the pthreads API of linux/unix. I went through your requirements and this is something I can confidently do. I would like to do this project Flere

$30 USD på 1 dag
(787 bedømmelser)
7.5
iridescent2x15

Hi I am software engineer and have done many programming and technical projects. You can share more details with me regarding your project. Also we can negotiate the price accordingly. Thank you

$100 USD in 7 dage
(70 bedømmelser)
6.5
idleswell

Thanks for your project. I have 30 years experience programming in C, including multiple applications featuring threads and synchronization using mutexes. I am the premiere Perl scripting expert on these freelancing Flere

$145 USD in 7 dage
(185 bedømmelser)
6.2
xinglong717

C, multithread expert. I have many experiences. I can complete your project successfully. I'm software engineer and algorithm expert. I'm fullstack website developer and database manager. Thanks.

$20 USD in 7 dage
(33 bedømmelser)
5.5