Date: Fri, 6 Aug 1999 17:53:56 +0530 From: "Geeta Mahesh" <ugtech@bom3.vsnl.net.in> To: <questions@freebsd.org> Subject: Urgent ... Multithreading on freebsd... Message-ID: <000e01bee006$8f401600$030136ca@ugtech.com>
next in thread | raw e-mail | index | archive | help
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 <!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.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Hi, </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>I have an application on FreeBSD 3.2 that uses posix = pthreads=20 for multithreading.</FONT></DIV> <DIV><FONT size=3D2>Though the application compiled and linked = correctly, I found=20 that no threading is taking place. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>The whole application runs as a single thread even = though I=20 have created threads using the pthread api</FONT></DIV> <DIV><FONT size=3D2>pthread_create(). I also checked with the ps command = and found=20 that no thread is getting created. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Can you please tell me </FONT></DIV> <DIV><FONT size=3D2>1. How to use pthread apis on FreeBSD. Is there any = compile or=20 link option that I must use to enable threading</FONT></DIV> <DIV><FONT size=3D2>2. Is there any setting in the kernel parameters to = enable=20 multithreading</FONT></DIV> <DIV><FONT size=3D2>3. In case pthread apis are not supported, what = should I use=20 to enable multithreading in my application. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Please let me know asap.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Thanks a lot.</FONT></DIV> <DIV><FONT size=3D2>Geeta.</FONT></DIV></BODY></HTML> ------=_NextPart_000_000B_01BEE034.A73EBB20-- 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?000e01bee006$8f401600$030136ca>