Find Jobs
Hire Freelancers

C Multithreaded application

$30-250 USD

Cancelled
Posted almost 7 years ago

$30-250 USD

Paid on delivery
n a company hiring new employees is done in two stages. In the first stage, the “human resources (HR) department” deals with the new applicants. The second stage is han- dled by the “trial department”. In the HR department, there is one receptionist and three interviewers. When a new applicant arrives at the department, the receptionist registers him/her and assigns his/her application sta- tus as 0. After this step, the applicant goes into the waiting room to wait for an interviewer to become available. Whenever one of the interviewers becomes available, he/she calls the first applicant in line and interviews him/her. While the interviewers interview the applicants, the 24.04.2017 receptionist continues registering incoming new applicants. (Note: Assume that the waiting room has infinite capacity.) At the end of the interview, the applicant is either accepted to go into the trial period or is re- jected. If an applicant is accepted to go into the trial period, the interviewer marks his/her sta- tus as 2; if he/she is rejected, the interviewer marks his/her status as 1. At this stage, rejected applicants leave the system. Applicants which have been accepted into the trial period go to the waiting room of the trial department to wait for a trainer to become available. In the trial department, there are four trainers. Whenever one of the trainers becomes availa- ble, he/she calls the first applicant in line and starts training him/her. At the end of the trial period, the applicant is either fully accepted into the position he/she applied for or is rejected. If an applicant is fully accepted, the trainer marks his/her status as 4; if he/she is rejected, the trainer marks his/her status as 3. At the end of this stage, both rejected applicants and fully accepted applicants leave the system. You are required to implement the following models. Please note that any other model will NOT get any points. • Each applicant is a process with no threads. • The HR department is a process with the interviewers and the receptionist as threads of this process. There are three interviewers and one receptionist. • The trial department is a process with the trainers as threads of this process. There are four trainers. • The status of each applicant is a shared integer variable which can be accessed (read) by the applicant and modified by the receptionist, the interviewers and the trainers. Status information: • “0” means that it is a new applicant who has been registered by the receptionist. This status is assigned by the receptionist when registration is completed. • “1” means that the applicant has been rejected after the interview. This status is as- signed by an interviewer. • “2” means that the applicant has been accepted to go into the trial period after the in- terview. This status is assigned by an interviewer. • “3” means that the applicant has been rejected after the trial period. This status is as- signed by a trainer. • “4” means that the applicant has been fully accepted for the position he/she applied for. This status is assigned by a trainer.
Project ID: 13977343

About the project

9 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $205 USD for this job
User Avatar
I am analysing & preparing reply to you & will send details with in 10 minutes I am ready to discuss with you NOW ---------------------- Greetings, This is GOPAL for STALLIONi, Let me assist in this. Best results & optimum cost guaranteed here. Now, I am available for live chat. If you are convenient - now we can discuss more about this project. Or please text me when you are free. Please check our freelancer profile http://www.freelancer.com/u/graphicaa.html - that evidences our works. ( Please treat the bid amount/ time already placed as a place holder only). Note: + We are flexible for custom changes & we make them instantly. + We provide Service Guarantee for all projects delivered by us. We also provide post-implementation application support &maintenance.. Thanks, Gopal
$263 USD in 30 days
4.9 (606 reviews)
9.1
9.1
User Avatar
Hello, It's a pleasure to let you know that I've Completed and Delivered similar project before. All I need to work on customization part if we can proceed towards more discussion. I have gone through your project description and confident to accomplish your project. I am an individual developer and you will be working directly with me if we proceed work on this project. My key skills are – 1) shopify 2) Angular JS 3) Node JS 4) PHP with Codeigniter and Laravel Framework. 5) App development 6)shopify templates Let's initiate our chat so we can proceed towards the conclusion of this project scope and give it a start as soon as possible. Thanks. :-)
$237 USD in 3 days
5.0 (27 reviews)
7.0
7.0
User Avatar
Hi there, I'm a fully qualified Computer Scientist, and vastly experienced R&D engineer, specialising in C and C++. If you need help with this assignment, let me know - as I also teach C++ . Thanks.
$200 USD in 2 days
5.0 (19 reviews)
6.0
6.0
User Avatar
Hello, I want to show you all relevant Demo and Designs which is similar to your project completed previously. To make sure about the requirement set and customizations, I want to discuss this project with you further on personal chat. Let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, I use to be online 24x7 on Freelancer so probably you will get a quick response from my end. Following are my Expertise Area: 1) Ruby on Rails 2)PHP with CodeIgniter and Laravel Framework. 3)Node JS 4)Angular JS 5)Mobile App Development 6) Shopify 7)Ruby Thanks :-)
$244 USD in 3 days
4.8 (17 reviews)
5.9
5.9
User Avatar
Hi,dear. I am a senior software developer. I have just checked your project report, I am able to perform this task with my developer team. I am looking forward to your proposal...
$155 USD in 1 day
4.4 (19 reviews)
4.8
4.8

About the client

Flag of TURKEY
Istanbul, Turkey
5.0
6
Payment method verified
Member since Apr 11, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.