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

Home » Public Forums » archive » Re: Concurrent widget program.
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: Concurrent widget program. [message #11905] Tue, 02 June 1998 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Andy Loughe wrote:
>
> David Fanning wrote:
>
>> But that is not the case at all. Consider this example.
>> Suppose the event handler code went into a processing loop
>> and that the loop took 5 minutes to execute. Then the user
>> could be pushing as many buttons on as many widget programs
>> as he or she liked, but nothing would be happening. In
>> fact, nothing at all would happen until that loop finished
>> and then, probably, all hell would beak loose as IDL rushed
>> to handle all the events that had queued over the past five
>> minutes.
>
> I am not a widget genius, but isn't that one reason you
> add the hourglass keyword when controlling widgets that
> take "awhile" to process the event?
>

Yes! AFTER you've used NO_BLOCK to get the second widget up
on the screen! As far as I can tell, that is what the gentleman
was asking. I never meant to imply that IDL could process *events*
concurrently...sorry for the confusion. Are we having a bad day?...

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Communication between top-level bases.
Next Topic: FFT and CONVOL

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

Current Time: Thu Oct 09 11:25:37 PDT 2025

Total time taken to generate the page: 1.36266 seconds