comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » asynchronous timers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: asynchronous timers [message #89318 is a reply to message #89314] Sat, 16 August 2014 01:28 Go to previous messageGo to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
On Saturday, August 16, 2014 12:51:23 AM UTC+2, Doug wrote:
> All,
>
>
>
> For IDL 8.4, we have done a couple of things to timers:
>
>
>
> * They no longer fire in the middle of system callbacks. For example,
>
> they won't interrupt widget event handlers and object cleanup methods.
>
> This is better since there are fewer nasty surprises.
>
>
>
> * For when there still are nasty surprises, there will be the "block"
>
> and "unblock" methods to enable the programmer to specify when they
>
> don't want code to be interrupted. This is useful if currently
>
> executing code is writing/reading to data that a timer will read/write.
>
> Place "block" and "unblock" around code that shouldn't be interrupted.
>
>
>
> As for pseudo-multithreading, one really doesn't get any benefit since
>
> there's still only one IDL interpreter. For that you'll need another
>
> IDL, of course.
>
>
>
> Cheers,
>
> Doug


Thanks for the info. When you say "they won't interrupt widget event handlers", what do you mean exactly? Suppose I have a GUI application, which is event driven. Essentially ALL routines are handling events in some sense. Does this mean the asynchronous timer wouldn't fire at all in my application? Or do you mean only that the timer wouldn't interrupt the "top level" event handler? (ie the procedure that is specified when starting Xmanager?)

best,
Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Customising ENVI water depths tool with IDL
Next Topic: Reading CEOS format using IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:42:49 PDT 2025

Total time taken to generate the page: 0.24258 seconds