[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
arbiters thread safety
From: |
Kevin Ryde |
Subject: |
arbiters thread safety |
Date: |
Mon, 02 Aug 2004 10:43:32 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Migrating the DEFER in try, and adding protection to the release.
* arbiters.c (scm_try_arbiter): Use scm_i_misc_mutex instead of
SCM_DEFER_INTS.
(scm_release_arbiter): Use scm_i_misc_mutex so return value can be
guaranteed if multiple threads compete to unlock.
arbiters.c.threads.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- arbiters thread safety,
Kevin Ryde <=