Made Semaphore usable on the XBox 360
git-svn-id: file:///srv/devel/repo-conversion/nusu@181 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
9669adcab5
commit
d5293d8cb9
|
@ -157,6 +157,21 @@ namespace Nuclex.Support {
|
|||
}
|
||||
}
|
||||
|
||||
#if XBOX360
|
||||
|
||||
/// <summary>
|
||||
/// Waits for the resource to become available and locks it
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// True if the resource was available and is now locked, false if
|
||||
/// the timeout has been reached.
|
||||
/// </returns>
|
||||
public override bool WaitOne() {
|
||||
return WaitOne(-1, false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if !XBOX360
|
||||
/// <summary>
|
||||
/// Waits for the resource to become available and locks it
|
||||
|
|
Loading…
Reference in New Issue
Block a user