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
[-- Attachment #1 --] 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. [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2314.1000" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>Hi, </FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>I have an application on FreeBSD 3.2 that uses posix pthreads for multithreading.</FONT></DIV> <DIV><FONT size=2>Though the application compiled and linked correctly, I found that no threading is taking place. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>The whole application runs as a single thread even though I have created threads using the pthread api</FONT></DIV> <DIV><FONT size=2>pthread_create(). I also checked with the ps command and found that no thread is getting created. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Can you please tell me </FONT></DIV> <DIV><FONT size=2>1. How to use pthread apis on FreeBSD. Is there any compile or link option that I must use to enable threading</FONT></DIV> <DIV><FONT size=2>2. Is there any setting in the kernel parameters to enable multithreading</FONT></DIV> <DIV><FONT size=2>3. In case pthread apis are not supported, what should I use to enable multithreading in my application. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Please let me know asap.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Thanks a lot.</FONT></DIV> <DIV><FONT size=2>Geeta.</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01bee006$8f401600$030136ca>
