TimeSetEvent
With TimeSetEvent a Callback function is assigned
to execute at an interval.
In the callback a COM-port is polled and data is
processed. A certain loop within the callback
sometimes hangs (or is not exectuted) while
another runs normally. All processing is done within
the intervaltime (20mS). Should certain global
variables be protected to avoid this?
.
Relevant Pages
- Re: TimeSetEvent
... In the callback a COM-port is polled and data is ... the intervaltime. ... some vcl elements are not threadsafe, ... some vcl calls might not execute. ... (alt.comp.lang.borland-delphi) - Re: design Q : using timer/threads
... Get rid of all loop variables. ... inside the callback itself. ... contains the data to be written, or posting a message to an I/O completion port to let a ... Then, using your buffer management structure, do ... (microsoft.public.vc.mfc) - Re: No return from async web service call
... \par or using Callback handler means to work correctly. ... The only problem is that when using while loop to poll the Complete status, the main UI thread will be blocked from accepting other UI message gracefully. ... \par> Hi Paul, ... \par>> I'm trying to invoke a web method asynchronously but just can't seem to get ... (microsoft.public.dotnet.framework.webservices) - Ctypes and C Infinite Callback Loops
... ctypes to hook into some legacy code. ... calls a specific callback function. ... this infinite loop, and continue on my merry way. ... "AssertionError: cannot join current thread". ... (comp.lang.python) - Re: Compleated Begginers Guide. Now What?
... my droog - you tried to rabbit ... > Ball Blaster i wanted to permenetly run the ball with a loop well my ... > main loop ran the bat. ... All TK-lewdies here will creech 'callback' at you sth. ... (comp.lang.python) |
|