X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fauth.phh;h=c96a0905ecf56b274f8d31c075bcc5a7ae8e93f9;hb=3f6352c51674328bc903e5444ec97ad34ae7c8d8;hp=963755add8edb86b81958fd9510fe8a3130ff88c;hpb=9cbf3bfaad0cad7feaf6413eb53df0a1475c6303;p=brisk.git diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh index 963755a..c96a090 100644 --- a/web/Obj/auth.phh +++ b/web/Obj/auth.phh @@ -47,6 +47,8 @@ class Challenge { } class Challenges { + static $delta_t; + var $item; var $item_n; var $mod; @@ -255,7 +257,8 @@ class Challenges { return (FALSE); } if (sem_acquire($res)) { - log_lock("LOCK challenges"); + self::$delta_t = microtime(TRUE); + log_lock("LOCK challenges [".self::$delta_t."]"); return ($res); } else @@ -266,7 +269,7 @@ class Challenges { { GLOBAL $sess; - log_lock("UNLOCK challenges"); + log_lock("UNLOCK challenges [".(microtime(TRUE) - (self::$delta_t))."]"); return (sem_release($res)); }