Warning: session_start(): open(/var/lib/php/sessions/sess_mejsd8nekf8p4ghmq9re117mo4, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7 static new O a; static new O b; p { thread "A" { synchronized(a) { print("Thread A has lock A."); sleep1Second(); print("Thread A getting lock B."); synchronized(b) { print("Thread A sleeping."); sleep(); } } } thread "B" { synchronized(b) { print("Thread B has lock B."); sleep1Second(); print("Thread B getting lock A."); synchronized(a) { print("Thread B sleeping."); sleep(); } } } print("Initiating deadlock... :-)"); sleep(); }