[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thread support plan with initial patch
From: |
Neil Jerram |
Subject: |
Re: Thread support plan with initial patch |
Date: |
06 Apr 2001 16:03:23 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
>>>>> "Dirk" == Dirk Herrmann <address@hidden> writes:
Dirk> On Fri, 6 Apr 2001, NIIBE Yutaka wrote:
>> To change the threads support dynamically (Null, Pthreads or
>> COOP), we need some changes for libguile. I think that modules
>> should provide a hook for thread-support change, something
>> like:
Dirk> I don't think we want to switch the thread implementation
Dirk> dynamically, i. e. from an already running guile. We just
Dirk> want to be able to select the desired thread implementation
Dirk> when starting up the interpreter. Well, at least that's
Dirk> what I have been assuming up to now.
I agree; I'd hate to have to write that thread-switch-hook code for my
modules!
But we could generalize Dirk's statement a little without complicating
the implementation, by saying that you can switch the thread
implementation whenever there is just one thread and there are no
mutexes, cond vars etc. In other words, whenever there are no
multiple-thread-related resources in existence.
Regards,
Neil
- Thread support plan with initial patch, (continued)
- Thread support plan with initial patch, NIIBE Yutaka, 2001/04/02
- Re: Thread support plan with initial patch, Keisuke Nishida, 2001/04/03
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/03
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/05
- Re: Thread support plan with initial patch, NIIBE Yutaka, 2001/04/06
- Re: Thread support plan with initial patch, Dirk Herrmann, 2001/04/06
- Re: Thread support plan with initial patch,
Neil Jerram <=
- Re: Thread support plan with initial patch, Dirk Herrmann, 2001/04/06
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/06
- Re: Thread support plan with initial patch, Marius Vollmer, 2001/04/06
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/06
- Re: Thread support plan with initial patch, Dirk Herrmann, 2001/04/10
- Re: Thread support plan with initial patch, NIIBE Yutaka, 2001/04/07
- Re: Thread support plan with initial patch, NIIBE Yutaka, 2001/04/07
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/07
- Re: Thread support plan with initial patch, NIIBE Yutaka, 2001/04/08
- Re: Thread support plan with initial patch, Mikael Djurfeldt, 2001/04/08