Valery,
could you change
gROOT->ProcessLine(Form("((TTimer *)0x%lx)->Notify
();",(Long_t)ti));
to something else?
Currently it looks and, especially, it works really ugly. Setting a global
lock for all other timers if a sync timer is fired might be a solution.
Cheers,
Anton
static VOID CALLBACK DispatchTimers(HWND hwnd, UINT uMsg, UINT idEvent,
DWORD dwTime)
{
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
//*-*
//*-* HWND hwnd, // handle of window for timer messages
//*-* UINT uMsg, // WM_TIMER message
//*-* UINT idEvent, // timer identifier (pointer to TTimer object)
//*-* DWORD dwTime // current system time
//*-*
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TTimer *ti = (TTimer *)idEvent;
if (ti) {
if (ti->IsAsync())
ti->Notify();
else
gROOT->ProcessLine(Form("((TTimer *)0x%lx)->Notify
();",(Long_t)ti));
}
}
___________________________________________________________________________
This e-mail is sent for the sole attention of the identified addressee and its
contents are provided for information purposes only. Fortis Bank makes no
warranty or representation as to the accuracy and completeness of any
information and does not assume whatever commitment hereby. Legally binding
obligation can only arise for, or be entered into on behalf of, Fortis Bank by
means of a written instrument, signed by two duly authorised representatives of
Fortis Bank. Fortis Bank excludes any liability whatsoever for any direct or
consequential loss arising from the use, or reliance on, this e-mail or its
contents.
___________________________________________________________________________
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET