pthread problems

=?ISO-8859-1?Q?Jerry_Lundstr=F6m?= (jerry@linewise.se)
Tue, 26 Jan 1999 12:26:42 GMT


Hi...

I don't know if this is the right list to talk about this
but Im haveing some problems with pthread's.

Im trying some things out and if I run a large amount of
threads that are read/writeing to a shared data area with
mutex locks och mutex cond's it hangs at some placeses.

I have traced it to the function pthread_cond_broadcast so
I changed that to pthread_cond_signal at it worked better but
not 100%...

It seams to hang when its going to signal som other thread and
take 100% cpu and just sits there.

I was just wondering if someone else has come across this "problem"
and/or if there is some problem with pthread in general.

Im useing:
Debian 2.0
egcs g++
glibc
2.0.36
pII 333

-- Jerry Lundström --
_______________________________________________________
Programmerare, Linewise (http://www.linewise.se)
Telefon: 08 - 56 24 00 00, 08 - 56 21 70 00
Mobil: 0709 - 66 05 26
e-Mail: jerry@linewise.se, prox@skynet.campus.luth.se
ICQ: 18682823 (Slow response)

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