bug-guile
[Top][All Lists]
Advanced

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

Re: reentrant port table stuff


From: Marius Vollmer
Subject: Re: reentrant port table stuff
Date: 28 Jul 2001 14:43:15 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Chris Cramer <address@hidden> writes:

> This patch fixes it, by deferring interrupts in scm_add_to_port_table
> and scm_remove_from_port_table:

Hmm, I don't think this is completely right.  I think you can't
perform `extensive' operations like scm_must_malloc when interrupts
are disabled.  Could you try to reformulate your patch so that only
`simple' operations are performed while interrupts are disabled?
Maybe mallocs.h can help to protect the entry struct until it is
safely stuffed into the table.



reply via email to

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