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

Home » Public Forums » archive » Re: Waiting without locking?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Waiting without locking? [message #45927] Wed, 19 October 2005 11:26
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
hocmin@gmail.com wrote:
> I'd like to write a small IDL program that continuously polls something
> with a pause between polling so it's not just an endless loop eating
> CPU cycles. I'd also like to be able to do this while another program
> is running (something with an interface that the user is working with).
>
> The wait procedure seems to lock not only the polling program from
> running but any other IDL program as well. Is there any way to get a
> program to "wait" without affecting any other running programs?
>

You can use widget timer events. If your program is a widget program,
you can build it directly into there. If not, I would recommend writing
an object which contains an invisible widget.

Ask back if you need more info.

Benjamin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Waiting without locking?
Next Topic: Re: newbie: sub-array extraction

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

Current Time: Wed Oct 08 18:59:38 PDT 2025

Total time taken to generate the page: 0.00426 seconds