search for: print_critical

Displaying 1 result from an estimated 1 matches for "print_critical".

2006 Oct 01
11
Mongrel woes fixed
...thread[:started_on] = Time.now @workers.add(thread) -------------- next part -------------- --- sync.rb Sun Oct 1 21:02:28 2006 +++ sync.new.rb Sun Oct 1 21:05:28 2006 @@ -131,8 +131,10 @@ def sync_try_lock(mode = EX) return unlock if sync_mode == UN + print_critical("sync_try_lock", "1", "true") Thread.critical = true ret = sync_try_lock_sub(sync_mode) + print_critical("sync_try_lock", "2", "false") Thread.critical = false ret end @@ -140,22 +142,27 @@ def sync_lock(m = EX...