#include "TCanvas.h"
#include "TFrame.h"
#include "TH1F.h"
#include "TRandom.h"
#include "TThread.h"
Go to the source code of this file.
Functions | |
void * | handle (void *ptr) |
void * | joiner (void *) |
void | threadsh1 () |
Variables | |
TCanvas * | c [4] |
TH1F * | hpx [4] |
TThread * | t [5] |
Bool_t | finished |
void* handle | ( | void * | ptr | ) |
Definition at line 16 of file threadsh1.C.
References c, TH1::Draw(), TH1::Fill(), gRandom, gSystem, hpx, i, TThread::Lock(), long, name, TRandom::Rannor(), TAttFill::SetFillColor(), TRandom::SetSeed(), TSystem::Sleep(), sprintf(), and TThread::UnLock().
void* joiner | ( | void * | ) |
Definition at line 48 of file threadsh1.C.
References finished, kTRUE, and t.
Referenced by threadsh1(), and threadsh2().
void threadsh1 | ( | ) |
Definition at line 60 of file threadsh1.C.
References c, finished, gSystem, handle(), i, joiner(), kFALSE, TSystem::ProcessEvents(), TThread::Ps(), TSystem::Sleep(), t, and Update().
Definition at line 11 of file threadsh1.C.
Definition at line 14 of file threadsh1.C.
Referenced by af_glyph_hints_compute_inflections(), joiner(), TGText::Load(), TGText::LoadBuffer(), psh_glyph_compute_inflections(), TGraphPainter::Smooth(), threadsh1(), and threadsh2().
Definition at line 12 of file threadsh1.C.
Referenced by binarySearchTime(), ConnectToServer(), DNDMainFrame::DNDMainFrame(), DrawFunction(), GetCollection(), h1draw(), handle(), handle1(), hclient(), hksimple(), hsimple(), htr1(), htw(), myfit(), stdsort(), stress7(), testMergeCont(), testPermute(), testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), testSpecFuncGamma(), tree1r(), write(), and zoomfit().
Definition at line 13 of file threadsh1.C.