view · edit · sidebar · attach · print · history

dRuby

  • pass by reference
  • pass by value

to pass odba_id from Oddbd main Process to another working process(like exportd).

lock / unlock

  • Thread.exclusive
    • Thread.critical
    • Thread.critical=
  • Mutex (mutual exclusion)
    • Mutex.synchronize
      • Mutex.lock
      • Mutex.unlock
    • take care to check dead lock (Don't call Mutex.synchronize in same thread)
  • Monitor, MonitorMixin
view · edit · sidebar · attach · print · history
Page last modified on March 15, 2012, at 07:51 AM