chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Threads and blocking on interpreter input


From: Chris Double
Subject: Re: [Chicken-users] Threads and blocking on interpreter input
Date: Sat, 5 Apr 2003 21:02:00 +1200
User-agent: KMail/1.4.3

On Sat, 05 Apr 2003 07:47, you wrote:
> That is a hack, indeed! ;-) But if it does what it should, fine
> (Your code assumes current-input-port is stdin (fd 0), but otherwise
> it looks safe enough. Also, a context switch betweem
> ##sys#thread-block-for-i/o! and thread-yield! could be problematic. I would
> add a `disable-interrupts' declaration in the module that contains this
> code).

What are the interrupts that 'disable-itnerrupts' disables? Does it affect the 
multithreading?

>
> Anybody interested in helping me with this?

I would be.

Chris.




reply via email to

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