NamedSemaphoreWaitOne(TimeSpan) Method
Blocks the current thread until the current instance receives a signal, using a
TimeSpan
to specify the time interval.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
function WaitOne(timeout);
- timeout TimeSpan
-
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 milliseconds to wait indefinitely.
Booleantrue if the current instance receives a signal; otherwise,
false.