We have a proprietary database application running over a network. If the network is good, everything runs fine. However, many of our customers have (for one reason or another) considerable latency in their networks. On those networks, there sometimes is a serious delay whenever we call FileLock(), and this is causing application errors.
Does anyone know of a way to make FileLock() more tolerant of network delays?