want to use slime with ecl under windows, But under win32 there's no sys/select.h so serve-event doesn't work. I see that swank-ecl relies on serve-event. Any possibility to get a plain one with sockets or something?
* CRLF0710 [2012-06-18 02:18] writes:
want to use slime with ecl under windows, But under win32 there's no sys/ select.h so serve-event doesn't work. I see that swank-ecl relies on serve-event. Any possibility to get a plain one with sockets or something?
I haven't tried on Windows, but by default swank-ecl doesn't use serve-event and the code is/should be guarded by #+serve-event.
Helmut
2012/6/18 Helmut Eller heller@common-lisp.net
the code is/should be guarded by #+serve-event
Yeah, it is. but in the #-serve-event case, there's no WAIT-FOR-INPUT defined right? What should i do when slime says it needs one?
Thanks~
* CRLF0710 [2012-06-19 02:10] writes:
2012/6/18 Helmut Eller heller@common-lisp.net
the code is/should be guarded by #+serve-event
Yeah, it is. but in the #-serve-event case, there's no WAIT-FOR-INPUT defined right? What should i do when slime says it needs one?
I added an implementation based on LISTEN that seems to work on Linux.
Helmut