Opened 11 years ago

Closed 8 years ago

#441 closed enhancement (fixed)

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:

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

  • DM

Change History (2)

comment:1 Changed 10 years ago by rme

  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by rme

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

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

Note: See TracTickets for help on using tickets.