unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* promises mutex
@ 2004-09-06  1:39 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2004-09-06  1:39 UTC (permalink / raw)


Is there a theory on having a mutex for each promise?

I see it has the effect of preventing two threads simultaneously
forcing, but I wonder if it'd be easier to allow that, just a single
mutex to protect the final store of the result.

This would be smaller and faster, and might even be beneficial for
some crazy cross-thread recursive forcing.  It'd be in keeping with
leaving most syncing up to the application (ie. allowing most anything
not actively harmful).


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-06  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-06  1:39 promises mutex Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).