Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 1999 08:45:24 -0700
From:      Eric Lee Green <elgreen@iname.com>
To:        "Geeta Mahesh" <ugtech@bom3.vsnl.net.in>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Urgent ... Multithreading on freebsd...
Message-ID:  <99080608541700.00452@ehome.local.net>
References:  <000e01bee006$8f401600$030136ca@ugtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 06 Aug 1999, Geeta Mahesh wrote:
> 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. 

Hi. Did you use the "-pthread" argument to gcc to tell it to use the threaded
libc? 

> 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. 

I'm not sure that pthreads under BSD will show up under "ps". Someone more
familiar with FreeBSD will have to enlighten us there. 

--
Eric Lee Green    http://members.tripod.com/e_l_green
  mail: e_l_green@hotmail.com
                    ^^^^^^^    Burdening Microsoft with SPAM!    


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?99080608541700.00452>