Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 1999 10:24:31 -0500
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Geeta Mahesh" <ugtech@bom3.vsnl.net.in>, <questions@FreeBSD.ORG>
Subject:   RE: Urgent ... Multithreading on freebsd...
Message-ID:  <01c501bee01f$c7ef2860$fca3f9cf@megared.net.mx>
References:  <000e01bee006$8f401600$030136ca@ugtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01c501bee01f$c7ef2860$fca3f9cf>