View Full Version : Thread to write and read file
lele90
July 11th, 2018, 02:02 PM
Hi ..how to create two thread mutex to read and write in the same file (c language) help please :(((
ajgreeny
July 11th, 2018, 07:11 PM
Thread moved to Programming Talk. which is more appropriate and a better fit.
QIII
July 11th, 2018, 07:36 PM
Has your instructor given you guidance? When is the assignment due?
TheFu
July 12th, 2018, 03:26 PM
Has your instructor given you guidance? When is the assignment due?
There are lots of examples to accomplish this in multi-threaded programming books every where. Any Unix will work the same way. I would use a named-pipe to make it easy, but any file will work.
If you post some code that is close, someone might help. But doing homework is against forum rules.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.