Re: maybe-commit fails unconditionally
Richard Kelsey <[email protected]> Sun, 25 Oct 2009 02:56:53 +0000 (UTC)
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
Date: Sat, 24 Oct 2009 14:08:39 -0400 From: Roderic Morris <[email protected]> I'm curious though, what's the reason for having maybe-commit set the proposal to #f instead of installing an empty one? Who would commit that proposal? Installing a proposal carries the implication that it will be committed in the near future. Simple thread-safe operations, such as enqueue! and dequeue!, make use of the current proposal if there is one. Leaving a proposal open for an indeterminate length of time would lead to very bad performance and all sorts of odd behavior. -Richard Kelsey