Removed some XNA 3.1 code paths; cleaned up constant usage in platform-specific code sections
git-svn-id: file:///srv/devel/repo-conversion/nusu@211 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
645148a751
commit
46cbc920b1
16 changed files with 75 additions and 110 deletions
|
@ -133,7 +133,7 @@ namespace Nuclex.Support.Tracking {
|
|||
}
|
||||
}
|
||||
|
||||
#if !XBOX360 && !WINDOWS_PHONE
|
||||
#if WINDOWS
|
||||
|
||||
/// <summary>Waits until the background process finishes or a timeout occurs</summary>
|
||||
/// <param name="timeout">
|
||||
|
@ -150,7 +150,7 @@ namespace Nuclex.Support.Tracking {
|
|||
return WaitHandle.WaitOne(timeout, false);
|
||||
}
|
||||
|
||||
#endif // !XBOX360
|
||||
#endif // WINDOWS
|
||||
|
||||
/// <summary>Waits until the background process finishes or a timeout occurs</summary>
|
||||
/// <param name="timeoutMilliseconds">
|
||||
|
@ -164,13 +164,7 @@ namespace Nuclex.Support.Tracking {
|
|||
return true;
|
||||
}
|
||||
|
||||
#if XNA_3
|
||||
return WaitHandle.WaitOne(timeoutMilliseconds, false);
|
||||
#elif XBOX360 || WINDOWS_PHONE
|
||||
return WaitHandle.WaitOne(timeoutMilliseconds);
|
||||
#else
|
||||
return WaitHandle.WaitOne(timeoutMilliseconds, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>Whether the transaction has ended already</summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue