Find Jobs
Hire Freelancers

For this assignment, start from the book example threads/thread_incr_mutex.c and change it to do the following:

$10-30 USD

Closed
Posted about 2 years ago

$10-30 USD

Paid on delivery
For this assignment, start from the book example threads/thread_incr_mutex.c and change it to do the following: [20 points] 1. In the main() function, after each succesfull pthread_create() print the following: "First thread id: <thread1_id>" - for the first thread "Second thread id: <thread2_id>" - for the second thread [30 points] 2. In threadFunc(), check if the current thread id is <thread1_id>; If so, for "loops", increment the glob variable with 2 instead of 1. If the current thread id is <thread2_id>, increment the glob variable with 1 (as originally done by thread_incr_mutex.c).
Project ID: 33448327

About the project

6 proposals
Remote project
Active 2 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
6 freelancers are bidding on average $28 USD for this job
User Avatar
Hello, I'm an expert C,C++ developer with experience in object-oriented, data structure and more advanced. I can help you to finish this project with great quality. We can negotiate on price/Budget Regards Relevant Skills and Experience C,C++. you can hire me dirctly if project delete. https://www.freelancer.com/u/theatasolution1
$20 USD in 1 day
4.9 (13 reviews)
3.8
3.8
User Avatar
C programming Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom give me a chance to show you the best i can do at your service.
$30 USD in 1 day
5.0 (3 reviews)
2.8
2.8
User Avatar
I'm an Embedded software engineer and I have experience in C Programming and Embedded software development. Let's talk about your project.
$60 USD in 7 days
5.0 (1 review)
2.3
2.3
User Avatar
hello there, I have read your project assignment and I am pretty sure I am able to do it in less than a day since I have worked on many applications both c and c++. Looking forward to hearing from you. Mostafa
$10 USD in 1 day
5.0 (1 review)
1.0
1.0
User Avatar
HELLO DEAR CLIENT I have gone through your project details, having all the required skills (C Programming)and VAST EXPERIENCE.I confirm to you that the project is doable since its within my area of EXPERTISE. Timely and Good work is 100% guaranteed. I present my bid to you and thanks in advance as you consider me
$25 USD in 5 days
0.0 (1 review)
0.0
0.0
User Avatar
Hello? I have read your suggestion carefully. As an operating system development expert and C expert, I think I can meet your needs very well. If you agree, we would like to have a conversation in the near future. respect
$20 USD in 7 days
0.0 (0 reviews)
0.4
0.4

About the client

Flag of UNITED STATES
San Antonio, United States
5.0
2
Payment method verified
Member since Mar 22, 2022

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.