Re: Conflict with kernel versions?
On Thu, 2005-11-10 at 14:37 +0000, David Given wrote:
> On Thursday 10 November 2005 14:16, Kevin B. McCarty wrote:
> [...]
> > To answer your first question: you cannot conflict against (or depend
> > upon) specific kernel versions because there is no guarantee that an
> > installed kernel package is the kernel that's running at the moment.
>
> Yes, of course.
>
> Actually, thinking about this a little more clearly, the *real* problem is
> that the coroutine library doesn't work with pthreads.
Just curious .. but is the library using <ucontext.h>
functions:
int getcontext(ucontext_t *ucp);
int setcontext(const ucontext_t *ucp);
void makecontext(ucontext_t *ucp, void *func(), int argc,
...);
int swapcontext (ucontext_t *oucp, ucontext_t *ucp);
According to my man page ..
CONFORMING TO
SUSv2, POSIX 1003.1-2001.
which means it had dang well better work with pthreads.
Perhaps instead of:
>Petition the sqlite maintainers to build a
>non-threaded version as part of the stock
>libsqlite3 package?
it would be more appropriate to petition upstream to
change their coroutine library?
Also curious if anyone knows if these functions
are supposed to work with C++ (exception handling etc ..)?
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
Reply to: