unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* C level mutices and condition variables
@ 2002-10-26 20:12 Marius Vollmer
  2002-10-26 21:28 ` Neil Jerram
  2002-11-11 22:05 ` Thread interface issues (was Re: C level mutices and condition variables) Mikael Djurfeldt
  0 siblings, 2 replies; 11+ messages in thread
From: Marius Vollmer @ 2002-10-26 20:12 UTC (permalink / raw)


Hi,

currently, we support the scm_t_mutex and scm_t_cond types, along with
some functions.  You can declare a variable of type scm_t_mutex and
initialize it with scm_mute_init, for example.

This makes it hard to have SCM data in a scm_t_mutex since you have to
protect it without the help from the user of the mutex.  Also, this is
not 'astract' enough when we make thread package support a run-time
option (which we should).

Dirk did some work in this direction in the dirk-thread-factorization
branch.  I propose something simpler:

Let's just remove C level support for mutex and condition variable
objects and tell them to use the Scheme level mutices, which are also
available to C.  (With deprecation.)

Ok?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-11-24 10:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-26 20:12 C level mutices and condition variables Marius Vollmer
2002-10-26 21:28 ` Neil Jerram
2002-10-26 23:33   ` Marius Vollmer
2002-10-27  7:40     ` Neil Jerram
2002-10-27 12:37       ` Marius Vollmer
2002-11-11 22:05 ` Thread interface issues (was Re: C level mutices and condition variables) Mikael Djurfeldt
2002-11-12 22:37   ` GC & threads (was: Thread interface issues) Han-Wen Nienhuys
2002-11-12 23:09   ` Thread interface issues (was Re: C level mutices and condition variables) Neil Jerram
2002-11-22 21:27     ` Marius Vollmer
2002-11-23 20:55       ` Thread interface issues Mikael Djurfeldt
2002-11-24 10:27         ` Marius Vollmer

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).