unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Cc: guile-devel@gnu.org
Subject: Re: About cleaning up the thread stuff
Date: Tue, 18 Jan 2005 22:03:29 +0100	[thread overview]
Message-ID: <lju0pexxem.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <2bc5f82105011810033f18dec5@mail.gmail.com> (Julian Graham's message of "Tue, 18 Jan 2005 13:03:56 -0500")

Julian Graham <joolean@gmail.com> writes:

> I like that, but only because I could never figure out how to use
> dynamic roots.  ;)

(I have decided to leave them in for a while... :-)

> So what will happen if you build Guile without the threading stuff? 
> Are the thread procedures (e.g., 'make-thread',
> 'call-with-new-thread', etc.) simply not made visible?

No, all functions will be there, but they wont do much.  I.e., you can
create mutexes and lock them, but you can't create new threads.

> When you say that any thread may enter guile-mode, do you mean that
> the prohibition against more than one thread of C code making calls to
> Guile's API is being lifted?

Yes, this restriction has been lifted already.  The remaining
restriction is that only threads created by Guile itself are allowed
to call Guile.  I hope to remove that restriction as well.  Also, I
hope to make thigns so that any thread can initialize Guile.

> Also, let me know if you'd like me to tweak that thread-cancellation
> patch I sent in a few months ago to reflect the changes you're talking
> about.  (Or maybe you'd prefer to write it from scratch yourself?)

I'll come back to you about this.  Is your patch finished?


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


  reply	other threads:[~2005-01-18 21:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-18 15:54 About cleaning up the thread stuff Marius Vollmer
2005-01-18 17:00 ` Marius Vollmer
2005-01-18 18:03   ` Julian Graham
2005-01-18 21:03     ` Marius Vollmer [this message]
2005-01-18 18:08   ` Andy Wingo
2005-01-18 21:04     ` Marius Vollmer
2005-01-18 22:02 ` Kevin Ryde
2005-01-18 23:05   ` Marius Vollmer
2005-01-19  0:02     ` Kevin Ryde
2005-02-01 16:02       ` Marius Vollmer
2005-03-02 21:09 ` Marius Vollmer
2005-03-04  0:46   ` Kevin Ryde
2005-03-04 11:33     ` Marius Vollmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lju0pexxem.fsf@troy.dt.e-technik.uni-dortmund.de \
    --to=marius.vollmer@uni-dortmund.de \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).