lkml.org 
[lkml]   [2000]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Pthreads, linux, gdb, oh my! (fwd)
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.071 / U:2.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site