Whenever I see LOCK_UN, I think of File Locking Tricks and Traps, Trap #1: LOCK_UN. You usually are better served by letting files unlock as their handles fall out of scope or are explicitly closed. You're not writing to the files, so it's unlikely to matter, but LOCK_UN is not a useful part of most solutions. Its uses are complex and not common.
Dave
In reply to Re: RFC: config::simple vs config::ini
by davido
in thread RFC: config::simple vs config::ini
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |