[cl-muproc-devel] [Patch] openmcl support
Klaus Harbo
klaus at mu.dk
Fri Jul 7 11:26:52 UTC 2006
Rudi Schlatte wrote:
>
> On 6. Jul 2006, at 08:53, Klaus Harbo wrote:
>
>> I just installed your patch. It looks very good indeed: Everything
>> seems to works as intended -- the tests all pass and the system we're
>> building also seems to be doing just fine. Excellent!
>
> Good to hear that, thanks!
>
>> I have reviewed all your changes, and have only a single comment: You
>> introduce *muproc-spawn-lock* to serialize access to muproc-spawn. I
>> think perhaps it would be preferable to simply use
>> %with-exclusive-access%. In fact, thinking about this it occurred to
>> me that (the previously existing) *giant-lock* probably be ought to be
>> placed in the implementation specific files
>> (muproc-{lispworks,openmcl}.lisp) because, strictly speaking, it is an
>> artifact of the implementation of %with-exclusive-access% and not part
>> of the implementation independent part of muproc.
>
> I agree re *giant-lock*. If I recall correctly, I introduced a second
> lock so as not to have to think about nested %with-exclusive-access%
> forms. In that case, the locks must be recursive or
> %with-exclusive-access% must be a bit smarter. I coded the simplest
> thing and then never revisited the decision.
>
>> So I propose that the new serialized muproc-spawn uses the generic
>> %with-exclusive-access%, that *giant-lock* is moved to both
>> implementation-specific files, and that *muproc-spawn-lock* is
>> eliminated.
>
> Sounds good. I also forgot to remove %without-scheduling% from the
> muproc-compat package; that symbol is not used any more, so can be
> eliminated.
>
> Cheers,
>
> Rudi
>
I have made the changes as suggested above -- moved *giant-lock* to
implementation specific files and eliminated %without-scheduling%
entirely. It seems to work on LW.
Also, I have made a copy of the DARCS repository publically available,
at http://www.mu.dk/cl-muproc/src; you should be able to retrieve from
there.
Rudi, I have made changes to both the LW and OpenMCL implementations,
but since I don't have OpenMCL, I haven't tested that part. Could you
please retrieve from the repository and see if compiles w/o errors and
warnings and passes the tests? If you need to make any changes, I'd
prefer a darcs patch over a diff file! :-)
-Klaus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3368 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mailman.common-lisp.net/pipermail/cl-muproc-devel/attachments/20060707/2102e66b/attachment.bin>
More information about the cl-muproc-devel
mailing list