guile-devel
[Top][All Lists]
Advanced

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

[PATCH] Add read-wrapper REPL option


From: David Thompson
Subject: [PATCH] Add read-wrapper REPL option
Date: Sun, 29 Sep 2013 18:10:02 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

Guile-2D needs a REPL that runs within its event loop without blocking
when reading user input. Mark Weaver has helped me add a new REPL
option, read-wrapper, that can be used by Guile-2D to push the read
operation into another thread while the main thread's event loop
continues to run as normal. This avoids the problem of thread safety
with the normal REPL server.

I think that this could be useful for other programs that run in an
event loop. Perhaps Emacsy?

- Dave Thompson

Attachment: 0001-Add-read-wrapper-REPL-option.patch
Description: Text Data


reply via email to

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