Antoine Merle
Antoine Merle
Can any MDSplus developer have a look at this please? I want to make sure I haven't misunderstood anything about segments...
HI Josh, thanks for your answer. But I am actually a bif confused by some of it. First of all I don't quite get why you say that signals break...
Hi Josh, Yes I think it's a good idea to discuss this. I guess a good time slot is 2pm-5pm in Lausanne, which should be 9am-12pm in Boston these days?...
So I have just come across the `abort()` statement in TDI. I guess what we are looking for is something similar but where we could insert the desired error status,...
The link above (pointing to: https://www.mdsplus.org/index.php/Documentation:Reference:TDI_S2#sum).
Noted. Thanks.
I might not be a native english speaker but (quoting the current documentation) > The result without DIM is the sum of the elements of > ARRAY, using only those...
I think in the case of a standard disconnect `ChildSignalHandler` actually doesn't do much since the destruction of the connection has already started in `CloseConnection` which is called by `DisconnectFromMds`....
`SA_RESTART` is meant to restart the system call, not reinstall the handler. The issue is not when trying to close a connection that is inactive or dead, it's an interrupt...
The following patch solves the issue for the program above (but only addresses the one syscall that was affected, it should be generalized) ```diff diff --git a/mdstcpip/io_routines/ioroutinesx.h b/mdstcpip/io_routines/ioroutinesx.h index a01403f32..e04520860...