Ticket #441 (closed enhancement: fixed)

Opened 8 years ago

Last modified 5 years ago

Would like to add PROCESS-PLIST slot to PROCESS instances

Reported by: dbmcclain Owned by: gb
Priority: normal Milestone:
Component: Runtime (threads, GC) Version:
Keywords: PROCESS Cc:


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) ...)

  • DM

Change History

comment:1 Changed 8 years ago by rme

  • Type changed from defect to enhancement

comment:2 Changed 5 years ago by rme

  • Status changed from new to closed
  • Resolution set to fixed

(In [15141]) Add and export process-plist. Fixes ticket:441.

Note: See TracTickets for help on using tickets.