Goods.Mutex.enter Function
Try to lock mutex within specified period of time. This method should be called before entering critical section.

Public bool enter (long)
  Type Name Description  
    long timeout the maximum time to wait in milliseconds.  
  Return Description  
    bool true if mutex is successfully locked, false if enter() was terminated due to timeout expiration.

 
Other overloads:
Goods.Mutex.enter()