Subj : *.SYS and pascal
To   : Dennis Collins
From : mark lewis
Date : Thu Feb 22 2007 12:02 pm


DT> Why can't the DOS programs create a sub-directory on the
DT> hard drive they are being used on, and use that for storage
DT> of its data files? I just can't imagine there is ANYONE who
DT> is using a system that does not have a hard drive in it. I

DC> It is doing this at the moment BUT the routines are doing a
DC> continuous loop looking for a semaphore file and only exiting when
DC> it is found thus the HD is continually active. This is creating a
DC> problem with other nodes when they attempt to access the same
DC> folder especially when trying to read/write a file that is assigned
DC> as a global semaphore file and uses LOCK/UNLOCK routines.

you have no disk cache software running? if not, you should... this is a
perfect example of why one should run a disk cache...

DC> I am going to try tonight to put in a timed delay into the loop.

better to use a timeslice "delay" in there... that way the time can be given up
to other tasks running on the same box... also, it'd probably be just fine
checking every 5 to 10 seconds... you might be able to get away with up to 30
seconds, too... it all depends on the rest of the setup and the desired
reaction time... just remember that another task bogging down the system can
cause delays in the ability to react...

)\/(ark


* Origin:  (1:3634/12)