static void Main(string[] args) { WThread t1 = new WThread(9); RThread t2 = new RThread(9); Console.Read(); }
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); }
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); }