Newsgroups: comp.os.parix
From: dss1@wsinis02.info.win.tue.nl (Pieter Swinkels)
Subject: RecvLink errors when using AExit ?
Organization: Eindhoven University of Technology, The Netherlands
Date: 11 Jul 1994 17:25:26 +0200
Message-ID: <2vro96$dpc@wsinis02.info.win.tue.nl>

I have a question regarding AExit. To enable asynchronous communication I call
AInit with the following parameters :

  AInit (top_id, -1, -1); 

Every now and then I terminate every thread by calling AExit

  AExit (top_id);

Because I have to use asynchronous communication afterwards I re-enable it by
calling AInit again.

The question is if there are any consequences for running asynchronous
communications when calling AExit. Although the man page says AExit waits
for every communication to terminate before terminating every thread, when
I use AExit as described above I sometimes (!) get RecvLink errors. Why this 
happens is a mystery to me, I checked my code but could not find anything 
that can cause this error.

If anyone has an explanation or has experienced the same problems, please
let me now ... Thanks in advance.



---------------
Pieter Swinkels                    e-mail : dss1@info.win.tue.nl

Department of Computing Science
Eindhoven University of Technology
The Netherlands

