[slime-cvs] CVS update: slime/swank-backend.lisp
Helmut Eller
heller at common-lisp.net
Sat Feb 21 16:35:55 UTC 2004
Update of /project/slime/cvsroot/slime
In directory common-lisp.net:/tmp/cvs-serv8016
Modified Files:
swank-backend.lisp
Log Message:
(add-sigio-handler): Renamed from add-input-handler.
(remove-sigio-handlers): Renamed from remove-input-handlers.
(add-fd-handler, remove-fd-handlers): New interface functions.
Date: Sat Feb 21 11:35:55 2004
Author: heller
Index: slime/swank-backend.lisp
diff -u slime/swank-backend.lisp:1.30 slime/swank-backend.lisp:1.31
--- slime/swank-backend.lisp:1.30 Mon Feb 16 16:39:39 2004
+++ slime/swank-backend.lisp Sat Feb 21 11:35:55 2004
@@ -170,11 +170,17 @@
"Accept a client connection on the listening socket SOCKET. Return
a stream for the new connection.")
-(definterface add-input-handler (socket fn)
+(definterface add-sigio-handler (socket fn)
"Call FN whenever SOCKET is readable.")
-(definterface remove-input-handlers (socket)
- "Remove all input handlers for SOCKET.")
+(definterface remove-sigio-handlers (socket)
+ "Remove all sigio handlers for SOCKET.")
+
+(definterface add-fd-handler (socket fn)
+ "Call FN when Lisp is waiting for input and SOCKET is readable.")
+
+(definterface remove-fd-handlers (socket)
+ "Remove all fd-handlers for SOCKET.")
;;; Base condition for networking errors.
(define-condition network-error (error) ())
More information about the slime-cvs
mailing list