[Bordeaux-threads-devel] Allegro 9.0 SMP fixes

James M. Lawrence llmjjmll at gmail.com
Thu Jul 5 22:52:37 UTC 2012


Condition variables were added to the Allegro documentation the day
after I sent the last patch, which I assume is sheer coincidence. The
attached patch using condition variables is better. This is for both
Allegro 8.2 and 9.0.

On Sat, Jun 30, 2012 at 2:45 PM, James M. Lawrence <llmjjmll at gmail.com> wrote:
> The first patch is a stress test which will hang without the
> subsequent patch.
>
> This patch covers all Allegro versions. The code was incorrect all
> along, but symptoms only appeared with real SMP.
>
> Thanks to Franz support for recommending the solution.
>
> The stress test may also fail intermittently for unrelated reasons.
> Franz is aware of this problem (which stems from the weak-keys hash in
> impl-allegro.lisp).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Allegro-use-condition-variables.patch
Type: application/octet-stream
Size: 1665 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/bordeaux-threads-devel/attachments/20120705/994e2be2/attachment.obj>


More information about the bordeaux-threads-devel mailing list