I am developing an automated trading EFS that communicates with the order handling program through files . In order to send an order , cancel etc. it is required to write single line files to a directory that the other program can read them from . Periodically I get errors from the other program saying the the access the file I write because another process has the file . In my EFS I only have 3 lines of code where I open the file , write to the file and then close the file .
Is it possible my EFS is not running to completion at that point and if so it is possible to ensure the EFS completes with some kind of process interrupt prevention code ???
Thanks Bill
Is it possible my EFS is not running to completion at that point and if so it is possible to ensure the EFS completes with some kind of process interrupt prevention code ???
Thanks Bill
Comment