2 using System
.Threading
;
7 static bool finished
= false;
19 static void gc (int niter
) {
31 static void test (bool main
, int niter
) {
35 var t
= new Thread (delegate () {
42 var t
= new Thread (delegate () {
51 public static void Main (String
[] args
) {
52 /* Test for running a GC while executing a SIGSEGV handler on an altstack */
56 niter
= Int32
.Parse (args
[0]);