| 678 | } |
| 679 | |
| 680 | virtual Status start(Runnable* r) |
| 681 | { |
| 682 | Thread* t = new (allocate(this, sizeof(Thread))) Thread(this, r); |
| 683 | r->attach(t); |
| 684 | int rv UNUSED = pthread_create(&(t->thread), 0, run, r); |
| 685 | expect(this, rv == 0); |
| 686 | return 0; |
| 687 | } |
| 688 | |
| 689 | virtual Status make(System::Mutex** m) |
| 690 | { |
no test coverage detected