Paralel read/write protected file

L

Let_Me_Be

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
 
M

mlimber

Let_Me_Be said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top