Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
swankr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
integrate into R's event loop, possibly
[swankr.git]
/
swank.R
diff --git
a/swank.R
b/swank.R
index 1dc95b48800c305489292bc95f4cdb92f381e16e..99f508bc153379b56c4586b6f61e7ee0db6b6c93 100644
(file)
--- a/
swank.R
+++ b/
swank.R
@@
-113,6
+113,7
@@
sldbLoop <- function(slimeConnection, sldbState, id) {
}
readPacket <- function(io) {
+ socketSelect(list(io))
header <- readChunk(io, 6)
len <- strtoi(header, base=16)
payload <- readChunk(io, len)