Re: MT crash

Vladimir Tzankov <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAHWYE6JWUP1ezxrm9yOq-3WgEtQnphMZFiW_3Xgx9u3YO809zA@mail.gmail.com>
On Mon, Apr 23, 2012 at 4:57 AM, Sam Steingold <[email protected]> wrote:
> However, I wonder if TRT is to replace
>  end_system_call(); /* just in case */
> with
>  end_blocking_system_call(); /* just in case */
> in OS_error().
> Vladimir, WDYT?

No.
1. There are many system calls which cannot block and are not
surrounded by begin/end_blocking_system_call().
2. Contrary to end_system_call() which can be called many times with
no harm, end_blocking_system_call() that does not have matching
begin_blocking_system_call() may cause deadlock in certain situations
(will check again - I do not not remember the details but in the past
I have tried to do exactly this change and found out it is no go).

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.