Find Jobs
Hire Freelancers

C programming

$10-30 USD

Completed
Posted over 2 years ago

$10-30 USD

Paid on delivery
I need this done in 36 hours A barrier is a tool for synchronizing the activity of a number of threads. When a thread reaches a barrier point, it cannot proceed until all other threads have reached this point as well. When the last thread reaches the barrier point, all threads are released and can resume concurrent execution. Assume that the barrier is initialized to N — the number of threads that must wait at the barrier point: init(N); Each thread then performs some work until it reaches the barrier point: /* do some work for awhile */ barrier_point(); /* do some work for awhile */ Using the POSIX pthread library described in the class, construct a barrier that implements the following API: int barrier_init(int n) // Initializes the barrier to the specified size. int barrier_point(void) // Identifies the barrier point. All threads are released from the barrier when the last thread reaches this point. The return value of each function is used to identify error conditions. Each function will return 0 under normal operation and will return −1 if an error occurs. To test your implementation of the barrier, create N threads in the main() function and set up a barrier point in each thread. Submission requirement: Artifacts to be submitted: a short report describing your design
Project ID: 32301703

About the project

4 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
Awarded to:
User Avatar
How are you? I understand your requirements and I can implement its functions in your timeline. I can start now. I hope to work on the project. Thanks for your reply. Best Regards.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
4 freelancers are bidding on average $28 USD for this job
User Avatar
Hello, Hope this message finds you well, I checked your details and I believe that my experience is what you are looking 4. I have been working on similar projects for the past eight years, and I have the essential skills including; C Programming C# Programming Software Architecture C++ Programming I will prove to be of great help to you. SEND MESSAGE/CHAT, so that discuss more on the details including budget and deadlines… Please REMEMBER to; Wash your hands frequently, Maintain social distancing, Avoid touching eyes, nose and mouth..., Practice respiratory hygiene, Stay home and if you feel unwell seek medical care early. Regards, BrainCenter Inc
$25 USD in 7 days
4.4 (17 reviews)
5.0
5.0
User Avatar
Hi, Dear Employer, I have read your job post carefully. I have over seven-plus years of experience at the ✔Machine Learning ✔python ✔Matlab ✔C program, ✔C++ program. ✔R program, ✔Algorithm✔java, and others. Please feel free, and you may award me the task; I'd be happy and present you with the best products. Let's discuss this further via chat, and I'll start your project right now. Thanks! Al. A.
$25 USD in 1 day
1.2 (5 reviews)
3.2
3.2
User Avatar
Hi, How are you today? Thank you for posting this project, and I'm very happy to bid your project. I've read carefully your requirement. I have experience of 6 years in C, C++. Your satisfaction with the project is my top priority! If you give me a chance to work with you, I will do my best to reach your requirements. I'm waiting for your kind response. Please send message over chat. Let's go. I will do my best for you. Best Regards.
$30 USD in 7 days
5.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
Mechanicsburg, United States
5.0
8
Payment method verified
Member since Sep 21, 2020

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.