Find Jobs
Hire Freelancers

C programming

$10-30 USD

Dokončeno
Zveřejněno před více než 2 roky

$10-30 USD

Zaplaceno při doručení
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
IČ projektu: 32301703

O projektu

4 nabídky
Vzdálený projekt
Aktivní před 2 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
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 v 1 dni
0,0 (0 recenze)
0,0
0,0
4 freelanceři nabízejí v průměru $28 USD za tuto práci
Avatar uživatele
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 v 7 dnech
4,4 (17 recenze)
5,0
5,0
Avatar uživatele
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 v 1 dni
1,2 (5 recenze)
3,2
3,2
Avatar uživatele
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 v 7 dnech
5,0 (1 recenze)
0,0
0,0

O klientovi

Pochází z UNITED STATES
Mechanicsburg, United States
5,0
8
Ověřená platební metoda
Členem od zář 21, 2020

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.