threads and signals

Rolf Rabenseifner (Rabenseifner@RUS.Uni-Stuttgart.DE)
Fri, 4 Apr 1997 17:33:35 +0200 (DST)

There may be an inconsistency:

Section 2.9.2 describes "Interaction with signals in POSIX" on p.16

"and implementors should attempt to implement MPI so that
signals are transparent: an MPI call suspended by a signal should
resume and complete after the signal is handled."

7.6.2 subsection "Interaction with signals and cancelations"
on p.152 lines 10-11

"The outcome is undefined ... if a thread catches a signal while
executing an MPI call."

is not consistent with 2.9.2 (that is equivalent to MPI 1.1)
for the case that required=MPI_THREAD_SINGLE!

The necessary changes may be done carefully because
MPI_INIT is equivalent to MPI_THREAD_INIT(MPI_THREAD_SINGLE,...)
independent of the returned "provided".


Rolf Rabenseifner (Computer Center )
Rechenzentrum Universitaet Stuttgart (University of Stuttgart)
Allmandring 30 Phone: ++49 711 6855530
D-70550 Stuttgart 80 FAX: ++49 711 6787626
Germany rabenseifner@rus.uni-stuttgart.de