This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

record locking


Hi all!

I'd need the UNIX file access locking mechanism like
flock(2) for doing protected database operations.

AFAIK I have to do an additional "open" call to the
libc API to get a file descriptor that allows me
to use flock.

So my request would be to integrate this in the fstream
class as an extension or to add a member function that 
returns the file descriptor.

matthias


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