Re: reentrant port table stuff

2001-09-06 Thread Marius Vollmer
Chris Cramer [EMAIL PROTECTED] writes: What did you do exactly? How did you configure your guile? Originally, I configured with --with-threads --enable-maintainer-mode. Then, while trying to figure out why it was segfaulting, I noticed that Guile was using pthreads, which I was trying to

Re: reentrant port table stuff

2001-08-30 Thread Rob Browning
Marius Vollmer [EMAIL PROTECTED] writes: The first major thing on the agenda is (in my view): do we want to care about full POSIX thread support, or are we satisfied with mere cooperative threads? From an idealistic standpoint, I would say: within one address space, cooperative threading is

Re: reentrant port table stuff

2001-08-26 Thread Marius Vollmer
[Finally picking up an olde thread] Chris Cramer [EMAIL PROTECTED] writes: On Sat, Jul 28, 2001 at 02:43:15PM +0200, Marius Vollmer wrote: 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.

Re: reentrant port table stuff

2001-08-26 Thread Marius Vollmer
Chris Cramer [EMAIL PROTECTED] writes: I'm using the stable CVS branch of Guile. This program eventually segfaults, because open-output-file and close-port (and open-file, etc) are not reentrant: (use-modules (ice-9 threads)) (define (child port) (display Hello port) (newline

Re: reentrant port table stuff

2001-07-28 Thread Chris Cramer
On Sat, Jul 28, 2001 at 02:43:15PM +0200, Marius Vollmer wrote: 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