------------------------------------------------------------ Apropos: ROOT Version 2.22/10 28 July 1999 Sun/Solaris 5.6 CINT Revision 5.14.10, Jul 20 1999 ------------------------------------------------------------ Dear ROOTers, I have observed the following problem with the CINT input: I have a method (GetEvent()) in MyClass which does TMonitor->Select() on a number of sockets. Let us suppose that I have two socketes A and B which are active. When I call this method from CINT in the following manner: MyClass MM(..); root [36] MM->GetEvent(); received from A; root [37] MM->GetEvent(); received from A; root [38] MM->GetEvent(); received from A; root [39] MM->GetEvent(); received from A; root [40] MM->GetEvent(); received from A; root [41] MM->GetEvent(); I always receive a message from the first socket which was added to the TMonitor even though the two are participating equally. However if I do the following I get the expected results: root [41] { root [42] for( Int_t i=0; i<10; i++) { root [43] char d; root [44] cin >> d; root [45] MM->MonitorGetEvent(); root [46] } root [47] } received from A; . received from B; . received from A; . received from B; . received from B; ... ___________________________________________________________________________ Krzysztof Wiktor Zelazowski Email: Krzysztof.Zelazowski@cern.ch Etudiant technique div.EP |CERN| Tel.: +41 (22) 767 2382 ___________________________________________________________________________
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET