Sounds like you could avoid locking completely and just open the file for "append" access in the parent and use syswrite to ensure that each line is appended in a single I/O operation.
- tye (but my friends call me "Tye")In reply to (tye)Re: Those fork()ing flock()ers...
by tye
in thread Those fork()ing flock()ers...
by ferrency
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |