[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Re: mutex-lock! in types.db
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Re: mutex-lock! in types.db |
Date: |
Tue, 26 Feb 2013 19:14:56 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Sun, Feb 24, 2013 at 03:07:15PM +0100, Jörg F. Wittenberger wrote:
> it appears that the mutex-lock! declaration in types.db is not
> currect.
>
> The second optional argument according to my reading of may be
> either a thread (struct) or #f ; however types.db only expects
> a thread.
You're right, the SRFI-18 docs clearly state that an explicit #f is
also allowed, not just leaving off the argument.
Attached is a patch for this, which I nominate for inclusion in the
stability branch. It's so trivial I didn't bother to add a NEWS
entry; feel free to write one up if you think it's important.
Cheers,
Peter
--
http://www.more-magic.net
0001-Fix-mutex-unlock-type-signature-thanks-to-Joerg-Witt.patch
Description: Text document