Re: Pthreads, linux, gdb, oh my! (fwd)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Dec 08 2000 - 19:02:18 EST


> So you're saying that you got this to work? Because I certainly couldn't
> get it working with a higher version either. I would really love a

I read straight down it anf realised you referenced obsolete versions of
tg->created and thus broadcast incorrectly

> I apologize for my ignorance -- I frankly don't know the intricicies of
> linux kernel development; all I know is I wrote what might be the simplest
> of all possible concurrency tests and it is failing. If someone could
> point me to a version or combination of linux and glibc where it doesn't
> fail, I'd be happy.

The way it works on the Linux side for threads is

Kernel provides
                Shared resources
                clone() - fork with sharing of files/memory etc

glibc provides
                POSIX semantics
                pthreads API
                thread locking on top of its own spin locks and kernel locks

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:16 EST