Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            WThread t1 = new WThread(9);
            RThread t2 = new RThread(9);

            Console.Read();
        }
Ejemplo n.º 2
0
 public Scanner(Parser psr, TextReader rdr, NetRuby rb, RThread th)
 {
     parser = psr;
     reader = rdr;
     ruby = rb;
     thread = th;
     thread.line = 0 - 1;
     thread.file = "(eval)";
     rb.__end__seen = false;
     tokenbuf = new StringBuilder(128);
 }
Ejemplo n.º 3
0
 public Scanner(Parser psr, TextReader rdr, string fname, int start, NetRuby rb,
                RThread th)
 {
     parser = psr;
     reader = rdr;
     ruby = rb;
     thread = th;
     thread.line = start - 1;
     thread.file = fname;
     rb.__end__seen = false;
     tokenbuf = new StringBuilder(128);
 }