guile-devel
[Top][All Lists]
Advanced

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

Re: About removing the low level thread API


From: Rob Browning
Subject: Re: About removing the low level thread API
Date: Tue, 19 Apr 2005 16:30:00 -0500
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Marius Vollmer <address@hidden> writes:

> I want to remove scm_mutex_lock (and all other functions in the
> low-level API) and maybe, just maybe, provide instead
>
>   - int scm_p_pthread_mutex_lock (scm_p_pthread_mutex_t *mutex)
>   Identical to pthread_mutex_lock on systems with pthreads and when
>   Guile has been configured --with-thtreads; otherwise, does nothing
>   and always returns 0.
>
> Would you say that such alias for the pthreads API is useful?
>
> Guile needs it internally anyway, but when we do not export it, we can
> just implement what we need and can change it at will, of course.

Unless there's a strong case, I don't think we should export it.  We
can always be convinced to export it later, but it's much more
difficult to "unexport" something.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

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