By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,407 Members | 1,045 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,407 IT Pros & Developers. It's quick & easy.

Paralel read/write protected file

P: n/a
Hi,

I'm curently developing an aplication which gets called many times, and
shoudl return a new state each time, I have implemented load/save state
to work with istream/ostream. The problem is the aplication is runned
many times - paralel.

Is it possible to have a protected file (read-write exclusive/paralel
reads), without installing a database engine? Idealy this should work
under both windows and linux, but linux will be sucifient.

Thx in advance

Sep 11 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Let_Me_Be wrote:
I'm curently developing an aplication which gets called many times, and
shoudl return a new state each time, I have implemented load/save state
to work with istream/ostream. The problem is the aplication is runned
many times - paralel.

Is it possible to have a protected file (read-write exclusive/paralel
reads), without installing a database engine? Idealy this should work
under both windows and linux, but linux will be sucifient.
Not in standard C++, which is the topic of this group (see
<http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9>).
You'll want to ask on a group dedicated to your platform. See that FAQ
for a list of some.

Cheers! --M

Sep 11 '06 #2

P: n/a
I'm curently developing an aplication which gets called many times, and
shoudl return a new state each time, I have implemented load/save state
to work with istream/ostream. The problem is the aplication is runned
many times - paralel.

Is it possible to have a protected file (read-write exclusive/paralel
reads), without installing a database engine? Idealy this should work
under both windows and linux, but linux will be sucifient.

Not in standard C++, which is the topic of this group (see
<http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9>).
You'll want to ask on a group dedicated to your platform. See that FAQ
for a list of some.
An they will sugest something which doesn't work in C++, no thanks, I
already tried.

Sep 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.