The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
Corona688
Forum:
Programming
02-16-2011
4
What happens fwrite/fread at the same time?
11,080
Posted By
Corona688
Exactly. Unless you use some form of locking,...
Exactly. Unless you use some form of locking, the order is unpredictable. You can't trust fwrite() to sync at all, unless you fflush() after. What fwrite does is call write(), if it has enough...
Forum:
Programming
02-15-2011
4
What happens fwrite/fread at the same time?
11,080
Posted By
Corona688
It explodes in a giant firey ball probably...
It explodes in a giant firey ball probably visible from space.
Well... not really. This is what we call a 'race condition'. It's not an error condition, but you're not likely to get what you...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×