repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Microsoft.Build] Ignore ThreadAbortException in BuildNodeManager
[mono-project.git]
/
mono
/
tests
/
exit-stress-threadpool.cs
blob
12945254c1200ce52800563684be6ac3dfedeede
1
// https://bugzilla.novell.com/show_bug.cgi?id=593955
2
using
System
;
3
using
System
.
Threading
;
4
5
public class
Tests
6
{
7
public static void
Main
(
String
[]
args
) {
8
new
Thread
(
delegate
() {
9
Thread
.
Sleep
(
100
);
10
Environment
.
Exit
(
0
);
11
}).
Start
();
12
13
while
(
true
) {
14
Action a
=
delegate
() {
15
};
16
a
.
BeginInvoke
(
null
,
null
);
17
}
18
}
19
}