Find Jobs
Hire Freelancers

you Debug a Code with logical and runtime errors that needs to be corrected.

$10-30 USD

Closed
Posted about 3 years ago

$10-30 USD

Paid on delivery
Request details void main() { append_file_ = CreateNewFile(); // Helper method to create a new file. next_write_offset_ = 0; next_ack_offset_ = 0; while (true) { // Helper method that provides the data that needs to be written. string data_to_write = ReceiveData(); // Insert the offset and data into the write_queue_. [login to view URL](); write_offset = next_write_offset_; [login to view URL](DataPair(write_offset, data_to_write)); [login to view URL](); // Start a new thread and execute the WriterLoop method on it. This thread // does not block for the new thread. ExecuteOnNewThread(&WriterLoop); } } // Watches the write_queue_ to get new writes and executes them on new threads. void WriterLoop() { [login to view URL](); while (true) { if ([login to view URL]() >= 0) { // Write queue is not empty. Obtain the DataPair and create a thread to // write it into the append_file_. DataPair data_pair = [login to view URL](); // Start a new thread to execute the WriteToFile method on it with // data_pair as the argument. This thread does not block for the new // thread. ExecuteOnNewThread(&WriteToFile, data_pair); } } [login to view URL](); }
Project ID: 29844656

About the project

2 proposals
Remote project
Active 3 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
2 freelancers are bidding on average $35 USD for this job
User Avatar
Hello, I've complete MS Software Engineering. I've 5-Year experience in C development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaFX. I have got your project requirement enough, Please leave a message on my chat so we can discuss the project. Best Regards: Aqeel Ahmed
$50 USD in 1 day
4.8 (14 reviews)
4.4
4.4
User Avatar
I have 10 years with C/C++ and multithread,. I can solved your problem quickly. I hope I can received this job
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Jose, United States
0.0
0
Member since Apr 10, 2021

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.