Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RMS Matthew Stallman's magic library

Name: Anonymous 2011-01-06 12:33

Why is glibc's fwrite_unlocked faster than the write syscall?

Name: Anonymous 2011-01-06 15:10

>>10
And our point is that you don't have a clue what you're talking about.  write doesn't lock anything, and the FILE mutex doesn't interact with other processes.  Furthermore, locking a mutex is insignificant compared to the overhead of a syscall.

>>11
Oh come on this is ridiculous

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List