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