[asterisk-dev] Pthread wrapper updates

SF Markus Elfring elfring at users.sourceforge.net
Wed Nov 1 05:05:39 MST 2006


> Sure, so a 'new' call fails (possibly horribly), but any in-progress 
> calls will continue until they
> need to access the problematic resource (possibly never).
You have not got any benefit from this kind of unwanted continuation. 
Can you also imagine that the resource like a lock is absolutely 
required for thread-safety?

> If you abort, then all in progress calls fail needlessly.
Why is it needless if software correctness should be achieved?
I am concerned about undefined program behaviour, aren't you?

Regards,
Markus


More information about the asterisk-dev mailing list