threadsh1.C File Reference

#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

TCanvasc [4]
TH1Fhpx [4]
TThreadt [5]
Bool_t finished


Function Documentation

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().


Variable Documentation

TCanvas* c[4]

Definition at line 11 of file threadsh1.C.

Bool_t finished

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().

TH1F* hpx[4]

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().

TThread* t[5]

Definition at line 13 of file threadsh1.C.


Generated on Tue Jul 5 16:09:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1