[Openmcl-devel] I made simple swank helper.

Gary Byers gb at clozure.com
Mon May 16 12:10:57 PDT 2016


Note that swank-helper uses the "select" system call which tries to wait 
until
some members of some sets of Unix file descriptors are ready to do some 
kinds of I/O
Some Windows C libraries may try to emulate some parts of what select 
tries to
do, but IIRC CCL on Windows mostly tries to do I/O without involving any 
C libraries.
The closest Windows analogue to select() might be 
WaitForMultipleObjects, and I don't
believe that you can generally wait for Windows file handles unless you 
know a lot
about what I/O operations are awaiting completion on that handle.

More generally, if swank-helper doesn't work on Windows, that is not 
surprising.
I don't know whether or not it could be made to work on Windows, or what 
would
be involved in that.


On 05/15/2016 03:03 PM, Fabrice Popineau wrote:
>
>
> 2016-04-22 12:32 GMT+02:00 Park SungMin <byulparan_eng at icloud.com 
> <mailto:byulparan_eng at icloud.com>>:
>
>     currently slime (swank) support only :spawn *commuication-style*
>     in ccl.
>     so every eval in lisp-buffer, create new thread.
>     sometimes it uncomfortable in ccl (i.e `(random 10)` always return
>     same value...)
>
>     so I just implementation other *communication-style* ...
>     https://github.com/byulparan/swank-helper
>
>     I used it about 10 days...and it seems works well.
>
>
> I tried it with the current version of CCL (1.12-dev) for Win64 and
> I had to kill it every time I tried to C-x C-e from a lisp buffer.
> I don't have much time to find and offer a fix, but I can try to help
> to fix it if you want more information.
>
> Regards,
>
> Fabrice
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20160516/ec4cd9c7/attachment.htm>


More information about the Openmcl-devel mailing list