On Thu, 6 Jan 2005 17:06:41 -0500, Patrick Shanahan
* Greg Freemyer
[01-06-05 16:42]: First the bug: The wait command below is not working.
If I inline the function 'clean_a_drive', the wait command works as expected.
How can I make wait actually pause until all the background functions are complete. If inlining the code is the only way, that will obviously be acceptable, it just seems like there ought to be a way to do this.
man lockfile
in fact, this was just discussed three or four days ago, here. -- Patrick Shanahan Registered Linux User #207535
Patrick, As I said, I found my bug. If the problem still existed, I'm not sure how a semaphore would help me? A counting semaphore would do the job, but looking at 'man lockfile' I don't see that ability. Greg