[mpich2-dev] question about function MPIDI_CH3U_Handle_recv_req
Darius Buntinas
buntinas at mcs.anl.gov
Wed Sep 28 10:05:29 CDT 2011
It's not safe to re-enter the function. I can't remember right now the specific problems you'll have, but I remember deciding that it was not safe to do that when we added the assert.
What are you trying to do? We might be able to help you find a non-reentrant way to do it.
-d
On Sep 26, 2011, at 8:40 AM, Thomas Ropars wrote:
> Dear all,
>
> I have a very specific question about the function MPIDI_CH3U_Handle_recv_req().
>
> In this function, the static variable in_routine makes it non reentrant (MPIU_Assert(in_routine == FALSE)).
>
> It causes problems in the current code I wrote. So I was wondering if I could safely remove this assertion ? Basically, in which case could I get problems because of removing this test ?
>
> Thanks in advance,
>
> Thomas
More information about the mpich2-dev
mailing list