To: Davido,
Nice!!!, I had no clue for that trap. Well I found that by closing the file the unlock happens automatically File Locking.
So regarding the reason that I am using flock on reading. I was planning to possible extend my conf.ini file by writing into it while some processes might reading. I just wanted to compare the process with all having this extra feature (flock), before I conclude which one to use.
Thank you for pointing out all this information, beginners like me learn so much.
In reply to Re^2: RFC: config::simple vs config::ini
by thanos1983
in thread RFC: config::simple vs config::ini
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |