This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Is the standard IO library thread safe?



Hi, I wonder is the standard I/O library thread safe?  For
example, I was using fprintf(stderr, ...)  in multithreaded programs, and it
causes random crashes.  After I add locks around these fprintf calls,
eeverything is fine.
 
I am using a default RedHat Linux 6.0 installation with glibc 2.1




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]