Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #6394
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: C++ File Lokcing |
| Date | 2011-06-08 07:50 +0100 |
| Message-Id | <pan.2011.06.08.06.50.37.16000@nowhere.com> |
| Newsgroups | comp.lang.c++ |
| References | (6 earlier) <islqai$qij$1@dont-email.me> <islrua$rhi$4@reader1.panix.com> <Xns9EFDEAAD3EE20myfirstnameosapriee@216.196.109.131> <library-extensions-20110607224708@ram.dialup.fu-berlin.de> <ism9p1$og8$2@reader1.panix.com> |
| Organization | Zen Internet |
On Tue, 07 Jun 2011 22:46:57 +0000, Ruben Safir wrote: > I know I'm ignorant, but I would think that file locking is a universal > need all all OS's. As for the low level implementation, leave it to the > compiler. Some form of locking may exist on most multi-user and/or multi-tasking OSes, but the nature of such locking may vary wildly. Can you lock byte ranges or just the whole file? Can you lock to the end of the file such that the range will be extended to cover appended data? Are locks advisory (a lock only prevents further locks) or mandatory (a lock directly prevents reading or writing)? And so on. Some of these aspects aren't even standardised across Unix systems, let alone other platforms.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
C++ File Lokcing ruben safir <ruben@mrbrklyn.com> - 2011-06-06 22:41 +0000
Re: C++ File Lokcing "osmium" <r124c4u102@comcast.net> - 2011-06-06 19:25 -0500
Re: C++ File Lokcing Juha Nieminen <nospam@thanks.invalid> - 2011-06-07 06:25 +0000
Re: C++ File Lokcing Öö Tiib <ootiib@hot.ee> - 2011-06-07 00:32 -0700
Re: C++ File Lokcing ruben safir <ruben@mrbrklyn.com> - 2011-06-07 11:54 -0400
Re: C++ File Lokcing Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-07 11:55 -0400
Re: C++ File Lokcing Ruben Safir <ruben@mrbrklyn.com> - 2011-06-07 18:17 +0000
Re: C++ File Lokcing Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-07 14:23 -0400
Re: C++ File Lokcing Ruben Safir <ruben@mrbrklyn.com> - 2011-06-07 18:50 +0000
Re: C++ File Lokcing Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-07 15:16 -0400
Re: C++ File Lokcing Jeff Flinn <TriumphSprint2000@hotmail.com> - 2011-06-07 15:47 -0400
Re: C++ File Lokcing Paavo Helde <myfirstname@osa.pri.ee> - 2011-06-07 15:04 -0500
Re: C++ File Lokcing Ruben Safir <ruben@mrbrklyn.com> - 2011-06-07 22:46 +0000
Re: C++ File Lokcing Nobody <nobody@nowhere.com> - 2011-06-08 07:50 +0100
Re: C++ File Lokcing Sherm Pendley <sherm.pendley@gmail.com> - 2011-06-08 20:55 -0400
Re: C++ File Lokcing Öö Tiib <ootiib@hot.ee> - 2011-06-08 18:33 -0700
Re: C++ File Lokcing Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-08 07:43 +0000
Re: C++ File Lokcing Nobody <nobody@nowhere.com> - 2011-06-07 21:21 +0100
Re: C++ File Lokcing Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-08 07:21 +0000
Re: C++ File Lokcing Paavo Helde <myfirstname@osa.pri.ee> - 2011-06-08 16:14 -0500
Re: C++ File Lokcing drew@furrfu.invalid (Drew Lawson) - 2011-06-08 22:19 +0000
Re: C++ File Lokcing Nobody <nobody@nowhere.com> - 2011-06-09 02:54 +0100
csiph-web