-
Per Hedbor authored
o Added `() method in Thread, and inherit thread_id, it's thus possible to write a program like this: void foo() { werror("thread\n"); sleep(2); } void main(int argc, array argv) { Thread t = Thread( foo ); t->wait(); } Also, added _sprintf() methods to most of the classes (Queue et.al.) Rev: lib/modules/Thread.pmod:1.25
Per Hedbor authoredo Added `() method in Thread, and inherit thread_id, it's thus possible to write a program like this: void foo() { werror("thread\n"); sleep(2); } void main(int argc, array argv) { Thread t = Thread( foo ); t->wait(); } Also, added _sprintf() methods to most of the classes (Queue et.al.) Rev: lib/modules/Thread.pmod:1.25