All Manuals > LispWorks Release Notes and Installation Guide > 13 Release Notes > 13.2 Multiprocessing

NextPrevUpTopContentsIndex

13.2.3 Better ways to use condition variables

New functions mp:lock-and-condition-variable-wait , mp:lock-and-condition-variable-signal , mp:simple-lock-and-condition-variable-wait , and mp:lock-and-condition-variable-broadcast are now the recommended interfaces.

The mp:lock-and-condition-* functions perform the equivalent of locking, and then doing something and calling the corresponding mp:condition-* function within the scope of the lock.

These new functions make it simpler to code, help to avoid mistakes, and optimize some cases. They are now the recommended interface for condition variables.


LispWorks Release Notes and Installation Guide - 23 Dec 2011

NextPrevUpTopContentsIndex