This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Thread-safe libio


Bonjour

> Whenever locking is done it has to use the lockfile() functions since
> they know how to interact with the thread library.

If I remember correctly, f{try,un,}lockfile() were introduce *with/for*
threading by posix.  I did not see any OS that provides flockfile()
whitout support for PThreads.

flockfile provides opaque reference counting.

--
alain


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