threads.cxx File Reference

#include "TApplication.h"
#include "TObject.h"
#include "TH1.h"
#include "TMath.h"
#include "TCanvas.h"
#include "TRandom.h"
#include "TThread.h"

Go to the source code of this file.

Functions

void * mhs (void *)
void * mhs1 (void *)
void * mhs2 (void *)
void * top (void *)
int main (int argc, char **argv)

Variables

TCanvasc1
TPadpad1
TPadpad2
TH1Ftotal0


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 198 of file threads.cxx.

References c1, TThread::Kill(), kTRUE, mhs(), mhs1(), mhs2(), pad1, pad2, TThread::Run(), TApplication::Run(), TThread::SetCancelAsynchronous(), top(), and total0.

void* mhs ( void *   ) 

Definition at line 29 of file threads.cxx.

References c1, TCanvas::cd(), TPad::cd(), TH1::Draw(), TPad::Draw(), TH1::Fill(), TRandom::Gaus(), gRandom, i, kUPDATE, TThread::Lock(), main(), TPad::Modified(), pad1, TThread::Printf(), TPad::SetGrid(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TRandom::SetSeed(), TThread::Sleep(), TH1::Sumw2(), total0, TThread::UnLock(), TCanvas::Update(), and TPad::Update().

Referenced by main().

void* mhs1 ( void *   ) 

Definition at line 87 of file threads.cxx.

References c1, TPad::cd(), TH1::Draw(), TH1::Fill(), TRandom::Gaus(), gRandom, i, TThread::Lock(), TPad::Modified(), pad1, TThread::Printf(), s1, s2, TRandom::SetSeed(), TThread::Sleep(), total0, TThread::UnLock(), and TCanvas::Update().

Referenced by main().

void* mhs2 ( void *   ) 

Definition at line 128 of file threads.cxx.

References c1, TCanvas::cd(), TPad::cd(), TPad::Draw(), TRandom::Gaus(), gRandom, i, kUPDATE, TThread::Lock(), main(), TPad::Modified(), pad2, TThread::Printf(), s1, s2, TRandom::SetSeed(), TThread::Sleep(), total, TThread::UnLock(), TCanvas::Update(), and TPad::Update().

Referenced by main().

void* top ( void *   ) 

Definition at line 186 of file threads.cxx.

References i, TThread::Printf(), TThread::Ps(), and TThread::Sleep().

Referenced by __mmalloc_sbrk_init(), TGFileBrowser::Add(), TRootBrowserLite::AddToTree(), arb8(), assembly(), Bezier_Up(), box(), ButtonWindow::ButtonWindow(), cff_decoder_parse_charstrings(), cff_face_init(), cff_subfont_load(), TGeoNavigator::CheckPath(), TGFileBrowser::CheckRemote(), TGTableLayout::CheckSanity(), cheongwadae(), complex_1(), composite(), compute_glyph_metrics(), cone(), coneseg(), TGeoManager::CountNodes(), TGeoPainter::CountVisibleNodes(), CreateETandAET(), csgdemo(), ctub(), dirs(), TASImage::Draw(), Draw_Sweep(), TGHtml::DrawTableBgnd(), eltu(), Finalize_Profile_Table(), TGTableLayout::FindRowColSizesMultiplyAttached(), TMemberInspector::GenericShowMembers(), geom_cms(), geom_cms_stereo(), TH1::GetAsymmetry(), TGSplitFrame::GetTopFrame(), glViewerLOD(), TVSDReader::GotoEvent(), gray_convert_glyph(), gray_render_conic(), gray_render_cubic(), gtra(), handle_asxml_tag_pad(), hype(), TRootBrowserLite::IconBoxAction(), ideal(), TGTextLayout::IntersectText(), TGTableLayout::Layout(), TGVerticalLayout::Layout(), lego(), Line_Up(), TRootBrowserLite::ListTreeHighlight(), load_event(), main(), TSTLhitStarMap::MakeTree(), TSTLhitStarMultiSet::MakeTree(), TSTLhitMap::MakeTree(), TSTLhitMultiMap::MakeTree(), TSTLhitMultiset::MakeTree(), TSTLhitList::MakeTree(), TSTLhitStarMultiMap::MakeTree(), TSTLhitStarSet::MakeTree(), TSTLhitStar::MakeTree(), TSTLhitSet::MakeTree(), TSTLhitStarDeque::MakeTree(), TSTLhit::MakeTree(), TCloneshit::MakeTree(), TSTLhitDeque::MakeTree(), TSTLhitStarList::MakeTree(), TGSplitFrame::MapToSPlitTool(), mp3player(), nucleus(), TGSplitFrame::OnSplitterClicked(), TGeoPainter::PaintVolume(), para(), parab(), TTreeFormula::ParseWithLeaf(), pcon(), pcre_get_stringnumber(), pcre_get_stringtable_entries(), pgon(), psh_blues_set_zones(), psh_blues_set_zones_0(), pythia_next_event(), qpsrt(), TGeoPainter::Raytrace(), TCloneshit::ReadTree(), TSTLhitMap::ReadTree(), TSTLhitMultiset::ReadTree(), TSTLhitDeque::ReadTree(), TSTLhitSet::ReadTree(), TSTLhitStarDeque::ReadTree(), TSTLhit::ReadTree(), TSTLhitStarMultiMap::ReadTree(), TSTLhitStarMap::ReadTree(), TSTLhitStarSet::ReadTree(), TSTLhitStar::ReadTree(), TSTLhitMultiMap::ReadTree(), TSTLhitStarMultiSet::ReadTree(), TSTLhitStarList::ReadTree(), TSTLhitList::ReadTree(), TGeoIterator::Reset(), robot(), rootgeom(), s_difference(), s_intersection(), s_union(), sbrk_morecore(), TGLabel::SetMargins(), TGTextButton::SetMargins(), TASImage::SetPaletteEnabled(), TGTableLayout::SetRowColSizesInit(), south_gate(), sphere(), station1(), station2(), t1_decoder_parse_charstrings(), tank(), TextAlignWindow::TextAlignWindow(), TGeoNodeCache::TGeoNodeCache(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), update_projections(), TGeoVolume::Weight(), WriteRef(), and xtru().


Variable Documentation

TCanvas* c1

Definition at line 19 of file threads.cxx.

TPad* pad1

Definition at line 21 of file threads.cxx.

Referenced by canvas_write(), fillrandom(), glsurfaces(), h1draw(), hserv(), logscales(), main(), mathBeta(), mathGammaNormal(), mathLaplace(), mhs(), mhs1(), ntuple1(), plotNtuple(), ProofNtuple::PlotNtuple(), surfaces(), ProofEventProc::Terminate(), TestSPlot(), transpad(), and zdemo().

TPad* pad2

Definition at line 23 of file threads.cxx.

Referenced by canvas_write(), fillrandom(), glsurfaces(), h1draw(), hserv(), logscales(), main(), mathBeta(), mathGammaNormal(), mathLaplace(), mhs2(), mp3player(), ntuple1(), plotNtuple(), ProofNtuple::PlotNtuple(), surfaces(), ProofEventProc::Terminate(), TestSPlot(), transpad(), and zdemo().

TH1F* total0

Definition at line 26 of file threads.cxx.

Referenced by main(), mhs(), and mhs1().


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