Clearly, its a bad thing to do any sort of sizable sleep() in an LCL app's main thread but I would like to call sleep() in a 'background' thread for, perhaps, two seconds at a time while that thread waits to get a lock before proceeds to do some file i/o.
Seems reasonable to me and far less overhead than creating a timer. Am I sounding reasonable ?
Davo