[Gbbopen-list] [Gbbopen-announce] Announcing Portable Threads Interface Version 2.0

Dan Corkill corkill at gbbopen.org
Mon Jul 30 10:45:21 EDT 2007


Just in case you are not subscribed to the GBBopen Annnounce list...

-------------------------------------------------------------------------

Version 2.0 of GBBopen's Portable Threads Interface has been
released.  Changes in Portable Threads Version 2.0 include:

 - Recursive and nonrecursive locks, with stronger enforcement of
   usage violations (to reduce the potential for different
   behavior on different Common Lisp implementations)

 - Emphasis on condition variables for thread waiting/notification

 - Improved hibernation behavior

 - With-timeout macro has been added

Allegro-style gates and process-wait operations are depreciated and will
be removed soon. (See the GBBopen Reference Manual for details on the
Version 2.0 capabilities.)

The names of many Portable Threads functions have been changed (for
consistency with new capabilities and to make the portable-threads
interface names more "thread-centric" rather than "process-centric"):

       all-processes              all-threads
       awaken-process             awaken-thread
       current-process            current-thread
       hibernate-process          hibernate-thread
       kill-process               kill-thread
       make-process-lock          make-recursive-lock
       process-name               thread-name
       processp                   threadp
       process-wait               thread-wait
       process-wait-with-timeout  thread-wait-with-timeout
       process-whostate           thread-whostate
       process-yield              thread-yield
       run-in-process             run-in-thread
       spawn-process              spawn-thread
       symbol-value-in-process    symbol-value-in-thread
       with-process-lock          with-lock-held
       <new>                      condition-variable (object)
       <new>                      condition-variable-broadcast
       <new>                      condition-variable-signal
       <new>                      condition-variable-wait
       <new>                      condition-variable-wait-with-timeout
       <new>                      make-condition-variable
       <new>                      make-lock
       <new>                      thread-holds-lock-p
       close-gate                 <deprecated>
       gate-open-p                <deprecated>
       make-gate                  <deprecated>
       open-gate                  <deprecated>
       process-wait               <deprecated>
       process-wait-with-timeout  <deprecated>

Backward compatibility with the previous version of :portable-threads is
provided, but users should migrate quickly to the new version as this
backward compatibility will be dropped relatively soon.

Happy multithreading...!


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Gbbopen-list mailing list