Hi Pere,
I cannot reproduce it (win32gdk, 3.10/01)
My code is:
#include "TApplication.h"
#include "TTimeStamp.h"
int main (int argc,char** argv) {
TTimeStamp().Print();
{
TApplication ROOTApp( "ROOTApp", &argc, argv );
TTimeStamp().Print();
}
TTimeStamp().Print();
return 0;
};
The result:
./test.exe
Date/Time = Tue, 18 Nov 2003 16:29:09 MET +185942400 nsec
Date/Time = Tue, 18 Nov 2003 16:29:09 MET +396244800 nsec
Date/Time = Tue, 18 Nov 2003 16:29:09 MET +396244801 nsec
Regards. Valeriy
> Dear rooters,
>
> I have noticed that on Windows using ROOT 3.10.1 the destructor of
> TApplication takes up to 10 seconds. The CPU is not used during this
> time, so I suspect a timeout condition somewhere. The test.cpp program
> to show the problem is
>
> #include "TApplication.h"
> #include "TTimeStamp.h"
>
> int main (int,char**) {
> TTimeStamp().Print();
> {
> TApplication ROOTApp( "ROOTApp", 0, 0 );
> TTimeStamp().Print();
> }
> TTimeStamp().Print();
> };
>
> The output I get is
>
> C:\>test.exe
> Date/Time = Tue, 18 Nov 2003 13:53:45 W. Europe Standard Time +241801600
> nsec
> the current keyboard layout is 437
> Date/Time = Tue, 18 Nov 2003 13:53:45 W. Europe Standard Time +331931200
> nsec
> Date/Time = Tue, 18 Nov 2003 13:53:55 W. Europe Standard Time +336316800
> nsec
>
> In addition. Is there a way to disable the message "the current
> keyboard layout is 437"?
>
>
>
> ------------------------------------------------------------
> Pere Mato CERN, EP Division, CH 1211 Geneva 23, Switzerland
> e-mail: Pere.Mato@cern.ch tel: +41 22 76 78696
> fax: +41 22 76 79425 gsm: +41 79 20 10855
>
>
>
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET