This repository has been archived by the owner on Jul 26, 2021. It is now read-only.
forked from crategus/cl-cffi-gtk
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thread safety for stable-pointers (#36)
* Wrapping stable-pointer accesses with SBCL mutex This works for me, in the sense that see no errors where nil gets funcall:ed. But it's a very naive approach, as I don't have a lot of experience with multi-threading. * Wrapping stable-pointer accesses in mutex-locks. This seems to work for me, in the sense that I don't see errors where nil gets funcall:ed. But I don't know if it might create other problems. Bordeaux-threads has to be loaded. * Changed name sp-mutex -> stable-pointers lock * bordeaux-threads now used by stable-pointers
- Loading branch information
Showing
2 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters