From owner-freebsd-questions Fri Jul 20 17:31: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from winmail.prismedia.com (mail.prismedia.com [63.113.218.100]) by hub.freebsd.org (Postfix) with ESMTP id A0DB437B40A for ; Fri, 20 Jul 2001 17:30:48 -0700 (PDT) (envelope-from caraya@prismedia.com) Received: from CarlosTemp (carlos-temp.prismedia.com [10.10.10.141]) by winmail.prismedia.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NYKCHPYY; Fri, 20 Jul 2001 17:28:32 -0700 Message-ID: <01c901c1117c$18bcae40$8d0a0a0a@prismedia.com> From: "carlos araya" To: Subject: linuxthreads, mutexes, semaphores, and headaches Date: Fri, 20 Jul 2001 17:28:43 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01C6_01C11141.6C5327E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
    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.
------=_NextPart_000_01C6_01C11141.6C5327E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message