21void *handle(
void *ptr)
25 for (
int i = 0; i < 10; i++) {
37 printf(
"Starting Thread 1\n");
40 printf(
"Starting Thread 2\n");
43 printf(
"Starting Thread 3\n");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TSystem * gSystem
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
<div class="legacybox"><h2>Legacy Code</h2> TThread is a legacy interface: there will be no bug fixes...
static void Ps()
Static method listing the existing threads.
static void Printf(const char *fmt,...)
Static method providing a thread safe printf. Appends a newline.