[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linrad] Error exit



Linrad has error exits that end with exit(0).
In the multi-threaded version this does not work.
Killing all threads is difficult because at the point
where it should be done, the calling thread may kill
itself, thereby leaving other threads running.

Presumably there is some kind of system call that
would stop all threads and make a proper exit but
I have not been able to find out how to do.

Is there anyone on this list who knows how to make
an exit routine that safely stops everything?
(Best a strategy that is platform independent.)


73

Leif / SM5BSZ



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL
-