I'm using a shared memory component in 2 apps which communicate with each other.
I use a shared memory component which uses a memory mapped file with no actual file on the hard drive. I seem to be having a problem with communications between the 2 apps when the hard drive is busy. It appears a change to the shared memory is not showing up in the other app for over 20 seconds while the hard drive is busy. Does that sound possible in your opinion? It doesn't make any sense to me but that's all I can come up with currently. Communication appears to stop sometimes when a separate thread starts up every 24 hours to load the contents of perhaps 3000 small files into RAM. There is a sleep(15) between access of each file to prevent the drive being too busy, but yet this issue can occur sometimes during the 30 odd seconds this thread is running. Cheers, Ross.
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
