diff --git a/Source/Semaphore.cs b/Source/Semaphore.cs index fa355c3..8b597f1 100644 --- a/Source/Semaphore.cs +++ b/Source/Semaphore.cs @@ -157,6 +157,21 @@ namespace Nuclex.Support { } } +#if XBOX360 + + /// + /// Waits for the resource to become available and locks it + /// + /// + /// True if the resource was available and is now locked, false if + /// the timeout has been reached. + /// + public override bool WaitOne() { + return WaitOne(-1, false); + } + +#endif + #if !XBOX360 /// /// Waits for the resource to become available and locks it