projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[corlib] Fix tests to compile when Thread.Suspend/Resume is not supported.
[mono.git]
/
mcs
/
class
/
corlib
/
Test
/
System.Threading
/
WaitHandleTest.cs
diff --git
a/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
b/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
index 122171b822a69f17d714e2899591739a8d4cda11..2fc0a6dd01d6963dfb8ae777ca494622d2dcee12 100644
(file)
--- a/
mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
+++ b/
mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
@@
-395,6
+395,7
@@
namespace MonoTests.System.Threading {
}
}
+#if MONO_FEATURE_THREAD_SUSPEND_RESUME
[Test]
public void WaitOneWithTimeoutAndSpuriousWake ()
{
@@
-483,6
+484,7
@@
namespace MonoTests.System.Threading {
Assert.IsTrue (thread.Join (1000), "#1");
}
}
+#endif // MONO_FEATURE_THREAD_SUSPEND_RESUME
}
}