The patch attached to this mail moves the usual suspects to the THREADS package. It does not move the Gates-related functions because I think that Gates can be removed again now with the SYNCHRONIZE-ON stuff.
-T.
Tobias C. Rittweiler wrote:
The patch attached to this mail moves the usual suspects to the THREADS package. It does not move the Gates-related functions because I think that Gates can be removed again now with the SYNCHRONIZE-ON stuff.
This patch DOES seem to move the Gates-related functions to THREADS, so I am holding off committing it until you confirm that's what you want to do. I think it is reasonable to move Gates to THREADS, as the only ones using it are you and I with the uncommitted SLIME :SPAWN implementation.
As for maintaining compatibility for the other functions (MAKE-MUTEX, GET-MUTEX, RELEASE-MUTEX, etc.) via CL-USER's import (i.e. USE) of the THREADS package, I ask the wider ABCL developer community is this the way we want to go? Erik's [commit of the SYNCHRONIZED-ON][1] uses a static block with exports to the previous package (EXT) commented to remove after 0.22. With Tobias' approach anyone explicitly trying to use some form like (EXT:MAKE-MUTEX) is going to fail, hard. Comments?
[1]: http://trac.common-lisp.net/armedbear/changeset/12040
armedbear-devel@common-lisp.net