projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark tests as not working under TARGET_JVM
[mono.git]
/
mcs
/
class
/
corlib
/
Test
/
System.Threading
/
MutexTest.cs
diff --git
a/mcs/class/corlib/Test/System.Threading/MutexTest.cs
b/mcs/class/corlib/Test/System.Threading/MutexTest.cs
index 9f3706df92996fadfc5dcc899ca3dfa7b7543558..6b3289c33ba07d6aaf0d9eaf3bb1b19a130e43a3 100644
(file)
--- a/
mcs/class/corlib/Test/System.Threading/MutexTest.cs
+++ b/
mcs/class/corlib/Test/System.Threading/MutexTest.cs
@@
-25,11
+25,11
@@
namespace MonoTests.System.Threading
this.id = id;
\r
this.mut = mut;
\r
}
\r
this.id = id;
\r
this.mut = mut;
\r
}
\r
- public void
w
ait()
\r
+ public void
W
ait()
\r
{
\r
mut.WaitOne();
\r
}
\r
{
\r
mut.WaitOne();
\r
}
\r
- public void
s
ignal()
\r
+ public void
S
ignal()
\r
{
\r
mut.ReleaseMutex();
\r
}
\r
{
\r
mut.ReleaseMutex();
\r
}
\r
@@
-47,7
+47,7
@@
namespace MonoTests.System.Threading
public void WithoutWait()
\r
{
\r
this.marker = this.id;
\r
public void WithoutWait()
\r
{
\r
this.marker = this.id;
\r
- this.
s
ignal();
\r
+ this.
S
ignal();
\r
}
\r
\r
\r
}
\r
\r
\r
@@
-55,15
+55,15
@@
namespace MonoTests.System.Threading
{
\r
while (this.marker<100)
\r
{
\r
{
\r
while (this.marker<100)
\r
{
\r
- this.
w
ait();
\r
+ this.
W
ait();
\r
this.marker++;
\r
this.marker++;
\r
- this.
s
ignal();
\r
+ this.
S
ignal();
\r
}
\r
}
\r
\r
public void WaitAndForget()
\r
{
\r
}
\r
}
\r
\r
public void WaitAndForget()
\r
{
\r
- this.
w
ait();
\r
+ this.
W
ait();
\r
this.marker = id;
\r
}
\r
public void WaitAndWait()
\r
this.marker = id;
\r
}
\r
public void WaitAndWait()
\r
@@
-161,6
+161,7
@@
namespace MonoTests.System.Threading
}
\r
\r
[Test]
\r
}
\r
\r
[Test]
\r
+ [Category("TargetJvmNotSupported")] // IntPtr native handles are not supported for TARGET_JVM.
\r
public void TestHandle()
\r
{
\r
Mutex Sem = new Mutex();
\r
public void TestHandle()
\r
{
\r
Mutex Sem = new Mutex();
\r