guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System asyncs and mutexes: a combination prone to deadlocks


From: Mark H Weaver
Subject: Re: System asyncs and mutexes: a combination prone to deadlocks
Date: Fri, 23 Aug 2013 17:11:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Chaos Eternal <address@hidden> writes:
>  then what's the purpose that the asyncs supposed to be ?

https://www.gnu.org/software/guile/manual/html_node/Asyncs.html explains
what their purpose is supposed to be.

>  one thing i know which uses async is signal handler, something else?

The 'after-gc-hook' is also run via system asyncs.  (ice-9 popen) uses
this hook to check 'pipe-guardian' and thus reap pipes that are no
longer accessible, which involves clearing entries in 'port/pid-table',
a global hash table.

      Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]