equal
deleted
inserted
replaced
1197 va_start(ap, format); |
1197 va_start(ap, format); |
1198 jio_vsnprintf(_name, max_name_len, format, ap); |
1198 jio_vsnprintf(_name, max_name_len, format, ap); |
1199 va_end(ap); |
1199 va_end(ap); |
1200 } |
1200 } |
1201 |
1201 |
|
1202 void NamedThread::print_on(outputStream* st) const { |
|
1203 st->print("\"%s\" ", name()); |
|
1204 Thread::print_on(st); |
|
1205 st->cr(); |
|
1206 } |
|
1207 |
|
1208 |
1202 // ======= WatcherThread ======== |
1209 // ======= WatcherThread ======== |
1203 |
1210 |
1204 // The watcher thread exists to simulate timer interrupts. It should |
1211 // The watcher thread exists to simulate timer interrupts. It should |
1205 // be replaced by an abstraction over whatever native support for |
1212 // be replaced by an abstraction over whatever native support for |
1206 // timer interrupts exists on the platform. |
1213 // timer interrupts exists on the platform. |