pvtest.php 224 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php require_once dirname(__FILE__) . '/config.php'; require_once LIBDIR . 'mutualExclusion.php'; //session_start (); $lock = acquireLock ('lock/lock', '1'); echo "Lock bekommen\n"; sleep (2); releaseLock ($lock); ?>