Package: cmucl
Version: 19a-release-20040728-9
Severity: wishlist
Tags: patch

The background for this request is that I needed to port a semaphore
logic on top of the CMUCL multiprocessing system.  The semaphore
logic was running on top of Allegro Common Lisp from Franz Inc.

Doing that I discovered a need for modifying the "whostate" of a
"process" struct of a process that is waiting.

It seems to me that this should be perfectly safe; the "whostate" has
no function, it is simply a hook that makes debugging simpler.  Allegro
Common Lisp has this facility.

The patch is to add this "defun" to cmucl/code/multi-proc.list:

(defun (setf process-whostate) (wait-reason process)
  "Modify wait reason."
    (setf (process-%whostate process) wait-reason))



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-7.97-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cmucl depends on:
ii  common-lisp-controller        4.12       This is a Common Lisp source and c
ii  debconf                       1.4.41     Debian configuration management sy

-- debconf information:
  cmucl/upgradeproblems:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to