Custom Query (1030 matches)
Results (913 - 915 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #877 | invalid | sticky default-initargs | ||
| Description |
Redefining a class does not work properly when the first def contains :default-initargs, but the second def does not. What happens is that use of the second def still has the default initiarg.
? (defclass foo () ((x :accessor x :initarg :x)) (:default-initargs :x 2)) ? (describe (make-instance 'foo)) #<FOO #x302093A3C44D> Class: #<STANDARD-CLASS FOO> Wrapper: #<CCL::CLASS-WRAPPER FOO #x302093A3E25D> Instance slots X: 2 ? (defclass foo () ((x :accessor x :initarg :x))) ? (describe (make-instance 'foo)) #<FOO #x302093A3C44D> Class: #<STANDARD-CLASS FOO> Wrapper: #<CCL::CLASS-WRAPPER FOO #x302093A3E25D> Instance slots X: 2 |
|||
| #911 | fixed | thread crash in callback from Grand Central Dispatch | ||
| Description |
Using cl-dispatch, I perform the elementary operation of adding a callback function to the asynchronous dispatch queue. See code below. Thread crash results when testing by repeated execution, typically after tens of executions. The error details are slightly different each time, and occasionally I am thrown into the kernel debugger. I have attached the OS X (10.7) crash report for one crash. (load "lisp:quicklisp;setup")
(ql:quickload "dispatch")
(defcallback foo (:address x) (declare (ignore x)) )
(defun test (v)
(let ((q (#_dispatch_get_global_queue 0 0)))
(dotimes (i v)
(print i)
(#_dispatch_async_f q (%null-ptr) foo))))
(test 100) ; this never completes without an error.
|
|||
| #1064 | fixed | reduce maphash consing | ||
| Description |
with-hash-table-iterator in file macros.lisp results in what appears to be unnecessary consing. Consing is reduced by adding ,state to the list of dynamic-extent declarations, as shown below. (defmacro with-hash-table-iterator ((mname hash-table) &body body)
|
|||
