Messages in this thread | | | Subject | Re: Pthreads, linux, gdb, oh my! (fwd) | Date | Sat, 9 Dec 2000 00:02:18 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
| |