comp.lang.ada
 help / color / mirror / Atom feed
From: Tom Moran <tmoran@bix.com>
Subject: Re: idiom for task termination?
Date: 1997/02/09
Date: 1997-02-09T00:00:00+00:00	[thread overview]
Message-ID: <32FE308B.251D@bix.com> (raw)
In-Reply-To: mheaney-ya023680000802972114020001@news.ni.net


Wow, what a great fire and brimstone, show no mercy, cast the sinners
into the outer darkness, Sunday sermon!  I look forward to a great wave
of "repent and reform".
  In the meantime, however, I'm one of those craven sorts who'd rather
have users than moral superiority.  If I tell users of my package "if,
during debugging, you get an unhandled exception, use of my package will
cause the program to hang forever, and if you have the OS terminate it
you won't get any exception name or traceback" I would expect to have
few takers.
  I could tell the user "if you use my package you must be sure to
include a 'when others => toms.quit;' exception handler.  The original
question, though, was how can I use a task internal to a library package
without special demands on the user. In my experience, saying "but I
told you to do such and such and you failed to do it" is not a
successful approach to having satisfied users. There's also the problem
of some users having compilers which are unable to give exception
tracebacks.  It's been suggested that a mere log2(N) runs with various
breakpoint settings will give them a traceback, but this package runs in
an environment where the sequence and timing of external input would
have to be duplicated on each of those runs, which is inconvenient if
not impossible.




  reply	other threads:[~1997-02-09  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <32FA10EF.32A@bix.com>
1997-02-07  0:00 ` idiom for task termination? Robert A Duff
1997-02-07  0:00   ` Tom Moran
1997-02-07  0:00   ` Mats Weber
1997-02-18  0:00     ` Robert A Duff
1997-02-08  0:00 ` Matthew Heaney
1997-02-09  0:00   ` Tom Moran [this message]
1997-02-10  0:00     ` Matthew Heaney
1997-02-10  0:00   ` Mats Weber
1997-02-10  0:00     ` Matthew Heaney
1997-02-11  0:00       ` Tom Moran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox