[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple Threads in CLISP?
- To: clisp-list <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>
- Subject: Multiple Threads in CLISP?
- From: Marcus Daniels <marcus@sysc.pdx.edu>
- Date: Wed, 13 Sep 1995 11:58:12 GMT
- In-reply-to: <199509130844.KAA01209@cadillac>
- References: <199509130844.KAA01209@cadillac>
>>>>> "Wilbur" == Wilhelm Burger <wilbur@cast.uni-linz.ac.at> writes:
Wilbur> Are there any plans/intentions to implement multi-processing
Wilbur> (i.e., shallow processes, threads) in CLISP?
Not as far as I know. I've always been able to get by with IPC. For
instance, via the FFI, I've used PVM (multiple hosts/processes) with
success.
In the next release will be `socket-streams'. It is available
in the alpha-sources now: http://sayre.sysc.pdx.edu:8001/clisp.
It should be possible to make this work with winsock, but it doesn't, yet.
Process A:
> (socket-server 8001)
#<SOCKET-SERVER 8001>
> (socket-accept *)
#<SOCKET-STREAM :#<SOCKET-SERVER 8001>>
> (read *)
(1 2 3)
Process B:
> (socket-connect 8001)
#<SOCKET-STREAM 8001:"localhost">
> (princ '(1 2 3) *)
(1 2 3)
>