From owner-freebsd-questions Fri Aug 6 8:25:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id CB41714E2E for ; Fri, 6 Aug 1999 08:25:24 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.252]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id KAA70473; Fri, 6 Aug 1999 10:24:20 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <01c501bee01f$c7ef2860$fca3f9cf@megared.net.mx> From: "Alejandro Ramirez" To: "Geeta Mahesh" , References: <000e01bee006$8f401600$030136ca@ugtech.com> Subject: RE: Urgent ... Multithreading on freebsd... Date: Fri, 6 Aug 1999 10:24:31 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, This are the POSIX Extensions for FreeBSD, maybe this can help you out, put them in your kernel config file, recompile your kernel, install it, and try again. options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" I hope this helps... Ales ----- Original Message ----- From: Geeta Mahesh To: questions@FreeBSD.ORG Sent: Friday, August 06, 1999 7:23 AM Subject: Urgent ... Multithreading on freebsd... Hi, I have an application on FreeBSD 3.2 that uses posix pthreads for multithreading. Though the application compiled and linked correctly, I found that no threading is taking place. The whole application runs as a single thread even though I have created threads using the pthread api pthread_create(). I also checked with the ps command and found that no thread is getting created. Can you please tell me 1. How to use pthread apis on FreeBSD. Is there any compile or link option that I must use to enable threading 2. Is there any setting in the kernel parameters to enable multithreading 3. In case pthread apis are not supported, what should I use to enable multithreading in my application. Please let me know asap. Thanks a lot. Geeta. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message