Artifacts Associated With Ticket 1029907
Ticket change [1a455db901] (rid 122948) by aotto1968 on 2004-09-17 14:52:28:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hi, my environment >>>>>>>>>>>>>>>>>> UNIX:Linux linux02 2.4.21-243-athlon #1 Thu Aug 12 15:24:15 UTC 2004 i686 athlon i386 GNU/Linux WINDOWS: win xp my problem >>>>>>>>>>>>>>>>>>>>> a tcl 'C' extension register with 'Tcl_CreateEventSource' a 'setupProc' and a 'checkProc' to handel my own events -> ok the event-source are winsock2 file-handels fully under control of my extension and not known outside of my application during the execution of my extension I cal 'Tcl_DoOneEvent(TCL_ALL_EVENTS)' to start the eventloop and wait for new events -> ok now the differences>>>>>>>>>>>>>>>>>> UNIX: after calling 'Tcl_DoOneEvent' the 'setupProc' and the 'checkProc' of my own events are called and everything went well -> ok WINDOWS: after calling 'Tcl_DoOneEvent' neither 'setupProc' ar 'checkProc' was called -> error the appication seems to blocking to solve the proble I have to call 'Tcl_DoOneEvent(TCL_ALL_EVENTS|TCL_DONT_WAIT)' and call the 'setupProc' and the 'checkProc' by my own -> bad now the mystic >>>>>>>>>>>>>>>>>>>>>>> if I add... proc Ping {} { after 1000 Ping puts ping } Ping and do not provide 'TCL_DONT_WAIT' both 'setupProc' and the 'checkProc' are called and everything works well -> mystic solution >>>>>>>>>>>>>>>>>>>>>>>>>> 1: on windows 'Tcl_CreateEventSource' does !!NOT!! really add an event source 2: you need 'start' or 'activate' the event-processing by using a USELESS timer-event mfg aotto - foundin initialized to: "obsolete: 8.4.7"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "aotto1968"
- subsystem initialized to: "02. Event Loops"
- title initialized to: "differences win32 vs unix"
- type initialized to: "Bug"
Ticket change [3d428aba89] (rid 121061) by aotto1968 on 2004-09-20 21:12:54:
- closedate changed to: "2004-09-20T14:12:54"
- closer changed to: "aotto1968"
- icomment:
Logged In: YES user_id=1030114 the BUG was the guy sitting in front of the computer ;-( the reason was that 'Tcl_CreateEventSource' was not available at the tine the bug has happen. The bug only happen for TCP-Network communication which was !!NOT!! tested for UNIX in my environment (e.g. ToDo for me) mfg aotto
- login: "aotto1968"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "aotto1968"