guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redoing conditional thread support


From: Christopher Cramer
Subject: Re: Redoing conditional thread support
Date: Mon, 14 Oct 2002 23:35:22 -0500
User-agent: Mutt/1.2.5i

On Thu, Oct 10, 2002 at 04:51:01PM +0200, Marius Vollmer wrote:
> I'm about to reorganize our conditional threading stuff so that there
> is always a thread API (scm_current_thread, scm_call_with_new_thread,
> mutices, condition variables, etc), but when you configure
> "--without-threads" you get a null-thread implementation that doesn't
> allow the creation of new threads.  Thus there will always be only a
> single thread.

I assume scm_call_with_new_thread without threads would work like
scm_catch? And I guess trying to lock a mutex that's already locked
would give an exception.

-- 
Christopher Cramer <address@hidden> <http://www.pyro.net/~crayc/>
"Gore would have finished ahead by the barest of margins had he pursued
and gained a complete statewide recount." -- Associated Press, 9/6/2002




reply via email to

[Prev in Thread] Current Thread [Next in Thread]