[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile + pthreads + reentrancy?
From: |
bindej |
Subject: |
Re: Guile + pthreads + reentrancy? |
Date: |
Tue, 24 Feb 2004 17:58:15 -0500 |
Mikael Djurfeldt writes:
> Each thread which has been spawned by scm_spawn_thread, that is.
>
> scm_spawn_thread calls pthread_create and sets up Guile things. If,
> for some reason, you need to create the pthread yourself and want to
> later make it able to use Guile, that could be arranged. Please tell
> me and I'll add this to the API (this is on the TODO list).
>
> M
That would probably be best. My project is a library, and its Guile
support is optional. Being able to still use pthread_create would be
cleaner (fewer conditionals).
Thanks.
Re: Guile + pthreads + reentrancy?, Mikael Djurfeldt, 2004/02/24