$dbh->do("LOCK TABLES bar READ"); ... get next image $dbh->do("UNLOCK TABLES");
I found this; is it preferable to flock? I have multiple users running the same program.
In reply to Re^4: 'flock' with multiple users
by Anonymous Monk
in thread 'flock' with multiple users
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |