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

Home » Public Forums » archive » RE: Widgets break CALL_EXT?
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: Widgets break CALL_EXT? [message #5728] Fri, 02 February 1996 00:00 Go to previous message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
> Your problem may be due to IDL's use of unix signals. I ran into a problem
> using CALL_EXTERNAL to perform network i/o. IDL uses signals for a variety
> of tasks. In particular, SIGALRM is used for all timing events. When
> X-windows is used, this timer is set to go off on a regular basis. What
> seems to happen is that if a system call (such as i/o) is done and is
> interrupted by SIGALRM, then the system call will not complete.
-SNIP-

Much thanks to Ken Knighton <knighton@gav.gat.com> for the key to the
solution to this problem. Sure enough, I wrote two little c subroutines
to block SIGALRM and then restore the default state of the handler after
CALL_EXTERNAL was finished, and presto!, everything worked :-)
In my opinion, this behavior is a bug under IDL widgets, and should be
fixed in a future IDL release. Thanks again, Ken

-Bob Mallozzi <mallozzi@ssl.msfc.nasa.gov>
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Multiple cursors
Next Topic: Re: LUNs and plot

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

Current Time: Fri Oct 10 18:15:07 PDT 2025

Total time taken to generate the page: 0.88234 seconds