[Openmcl-devel] cannot call accessor from thread
Vijay Mathew
vijay.the.lisper at gmail.com
Thu Mar 21 00:45:21 PDT 2013
I have the following class definition:
(defclass pool-executor ()
((max-workers :accessor max-workers :initarg :max-workers :initform nil)
(worker-pool :accessor worker-pool :initform nil)
(pending-requests :accessor pending-requests :initform nil)
(pending-requests-lock :reader pending-requests-lock :initform
(create-lock "pending-requests-lock"))
(main-thread :accessor main-thread :initform nil)))
When I call the accessors from a thread, the following condition is raised:
There is no applicable method for the generic function:
#<STANDARD-GENERIC-FUNCTION FUTURES:PENDING-REQUESTS #x1890C216>
when called with arguments:
((#<FUTURES:POOL-EXECUTOR #x18A58506>))
[Condition of type NO-APPLICABLE-METHOD-EXISTS]
What could be going wrong here?
Thank you,
--Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20130321/57b4995a/attachment.htm>
More information about the Openmcl-devel
mailing list