From owner-freebsd-questions Fri Aug 6 5:24:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bom3.vsnl.net.in (lvsb1.vsnl.net.in [202.54.4.24]) by hub.freebsd.org (Postfix) with ESMTP id 6148414C90 for ; Fri, 6 Aug 1999 05:23:57 -0700 (PDT) (envelope-from ugtech@bom3.vsnl.net.in) Received: from Cosmos (PPP113-123.bom.vsnl.net.in [202.54.113.123]) by bom3.vsnl.net.in (8.9.0/8.9.0) with SMTP id RAA17330 for ; Fri, 6 Aug 1999 17:52:50 +0530 (IST) Message-ID: <000e01bee006$8f401600$030136ca@ugtech.com> From: "Geeta Mahesh" To: Subject: Urgent ... Multithreading on freebsd... Date: Fri, 6 Aug 1999 17:53:56 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01BEE034.A73EBB20" X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000B_01BEE034.A73EBB20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi,=20 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.=20 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.=20 Can you please tell me=20 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.=20 Please let me know asap. Thanks a lot. Geeta. ------=_NextPart_000_000B_01BEE034.A73EBB20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have an application on FreeBSD 3.2 that uses posix = pthreads=20 for multithreading.
Though the application compiled and linked = correctly, I found=20 that no threading is taking place.
 
The whole application runs as a single thread even = though I=20 have created threads using the pthread api
pthread_create(). I also checked with the ps command = and found=20 that no thread is getting created.
 
Can you please tell me
1. How to use pthread apis on FreeBSD. Is there any = compile or=20 link option that I must use to enable threading
2. Is there any setting in the kernel parameters to = enable=20 multithreading
3. In case pthread apis are not supported, what = should I use=20 to enable multithreading in my application.
 
Please let me know asap.
 
Thanks a lot.
Geeta.
------=_NextPart_000_000B_01BEE034.A73EBB20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message