Custom Query (1030 matches)
Results (223 - 225 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #437 | fixed | Interrupted system call on UDP recvfrom | ||
| Description |
(process-run-function "udp reader"
(lambda ()
(let ((socket (ccl:make-socket
:type :datagram
:reuse-address t
:external-format '(unsigned-byte 8)
:format :binary
:local-port 0)))
(handler-case
(ccl:receive-from socket 32000)
(error (c)
(format t "Receive-from error: ~a" c))))))
If I run above and type Receive-from error: on #<CCL::UDP-SOCKET #x89DFD3E> : Interrupted system call (error #4) during recvfrom 8 : udp reader [Active] (Suspended) 1 : -> listener [Active] 0 : Initial [Sleep] (lisp-implementation-version) "Version 1.3-RC1-r11719M (DarwinPPC32)" |
|||
| #439 | fixed | Gray Streams malfunction | ||
| Description |
(defclass ubyte-stream ()
(defmethod cl:stream-element-type ((stream ubyte-stream))
;; -------------------------------------------------------------------------------- (defclass ubyte-output-stream (ccl:fundamental-binary-output-stream ubyte-stream)
(defun make-ubyte-output-stream ()
Now try: (defparameter s (make-ubyte-output-stream)) (write-byte 15 s) -->> boom! value #<UBYTE-OUTPUT-STREAM #x9224AEE> is not of the expected type (AND
Yet, if I do the following: (typep s '(and output-stream ccl::binary-stream)) ==> t |
|||
| #441 | fixed | Would like to add PROCESS-PLIST slot to PROCESS instances | ||
| Description |
Having a PROCESS-PLIST accessor on PROCESS instances would be very helpful and appears to have benign consequences for existing code. This permits us to associate other items of interest with all processes, e.g., a PID (process descriptor) which can be used to encapsulate a lot of other information (e.g., mailboxes, locks, types of processes, etc.) without actually extending the PROCESS class object beyond the property list slot. This is needed because calling make-process uses an existing class definition by default. New instances can be applied to extended class definitions using the :CLASS keyword parameter. But existing processes will not have the features needed by extended process objects. And the listener process, and perhaps others, will have already been created, yet need to participate with other instances in these extended applications. By adding a PLIST slot with accessor CCL:PROCESS-PLIST we can associate arbitrary extensions with already existing processes as needed by applications. (defclass process () .... (PLIST :INITFORM NIL :ACCESSOR PROCESS-PLIST) ...)
|
|||
