Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 17:28:43 -0700
From:      "carlos araya" <caraya@prismedia.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   linuxthreads, mutexes, semaphores, and headaches
Message-ID:  <01c901c1117c$18bcae40$8d0a0a0a@prismedia.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_01C6_01C11141.6C5327E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

    I switched from using user level threads to using linuxthreads just =
recently (for faster IO to a NAS) and now I'm having serious problems =
with my sempathores and mutexes. The problem is very random however, =
sometimes the server will run for a minute and sometimes only for 10 =
seconds. My stack trace says it has something to do with sigsuspend. Is =
anybody else having problems? I heard that libc 6 was better suited for =
linuxthreads but I haven't found a port to freebsd. Anyway if anybody =
has info linuxthreads and issues relating to semaphores and mutexes =
please let me know. Cheers.

------=_NextPart_000_01C6_01C11141.6C5327E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I switched from =
using user level=20
threads to using linuxthreads just recently (for faster IO to a NAS) and =
now I'm=20
having serious problems with my sempathores and mutexes. The problem is =
very=20
random however, sometimes the server will run for a minute and sometimes =
only=20
for 10 seconds. My stack trace says it has something to do with =
sigsuspend. Is=20
anybody else having problems? I heard that libc 6 was better suited for=20
linuxthreads but I haven't found a port to freebsd. Anyway if anybody =
has info=20
linuxthreads and issues relating to semaphores and mutexes please let me =
know.=20
Cheers.</FONT></DIV></BODY></HTML>

------=_NextPart_000_01C6_01C11141.6C5327E0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01c901c1117c$18bcae40$8d0a0a0a>