Home »
Public Forums »
archive »
Re: Waiting without locking?
Re: Waiting without locking? [message #45927] |
Wed, 19 October 2005 11:26 |
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
|
|
|
Current Time: Fri Oct 10 11:43:21 PDT 2025
Total time taken to generate the page: 1.76028 seconds