#include "Mountain.h"

Mountain


class description - source file - inheritance tree (.pdf)

class Mountain

Inheritance Chart:
Mountain

    protected:
void stop_thread(DancerInfo* di) public:
Mountain(Saturn* s) Mountain(const Mountain&) virtual ~Mountain() void Cancel(Eventor* e) static TClass* Class() void ConsiderSuspend(DancerInfo* di) static void* DancerBeat(DancerInfo* di) static void DancerCooler(DancerInfo* di) Saturn* GetSaturn() virtual TClass* IsA() const Mountain& operator=(const Mountain&) void Resume(Eventor* e) void ResumeAll() virtual void ShowMembers(TMemberInspector& insp, char* parent) void Shutdown() void Start(Eventor* e, bool suspend_immediately = false) void Stop(Eventor* e) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void Suspend(Eventor* e) Int_t SuspendAll() DancerInfo* UnregisterThread(Eventor* e) void WipeThread(Eventor* e)

Data Members

    private:
GMutex hStageLock GCondition hSuspendCond bool bInSuspend UInt_t hSuspendCount protected:
Saturn* mSaturn X{g}

Class Description


void DancerCooler(DancerInfo* di)

void* DancerBeat(DancerInfo* di)

void Start(Eventor* e, bool suspend_immediately)

void stop_thread(DancerInfo* di)

void Stop(Eventor* e)

void Suspend(Eventor* e)

void Resume(Eventor* e)

void Cancel(Eventor* e)

DancerInfo* UnregisterThread(Eventor* e)

void WipeThread(Eventor* e)

Int_t SuspendAll()
 Tries to suspend all operators ...
 fails miserably if some threads have longer periods ... should timeout!!!!

 Also ... this is not at all appropriate.
 Should have per-queen list of threads ... ie dancers.
 For each of them should also know in what way it affects other structures.

void ResumeAll()

void ConsiderSuspend(DancerInfo* di)
 Called from each DancerBeat ... like offering the mountain to suspend it

void Shutdown()
 Called from Saturn on shutdown. Kills all threads.



Inline Functions


               void ~Mountain()
           Mountain Mountain(Saturn* s)
            Saturn* GetSaturn()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           Mountain Mountain(const Mountain&)
          Mountain& operator=(const Mountain&)


Last update: Thu Jun 9 15:56:34 2005


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.