| From | Sent On | Attachments |
|---|---|---|
| Russell Francis | Feb 14, 2001 11:31 am | |
| Kris Kennaway | Feb 14, 2001 7:10 pm | |
| Seth Leigh | Feb 14, 2001 7:34 pm | |
| Kris Kennaway | Feb 14, 2001 7:53 pm | |
| Seth Leigh | Feb 14, 2001 9:01 pm | |
| Nate Williams | Feb 14, 2001 9:36 pm | |
| Kris Kennaway | Feb 14, 2001 9:43 pm | |
| Terry Lambert | Feb 14, 2001 11:08 pm | |
| Seth Leigh | Feb 14, 2001 11:20 pm | |
| Seth Leigh | Feb 14, 2001 11:55 pm | |
| Jason Evans | Feb 15, 2001 1:32 am | |
| Nate Williams | Feb 15, 2001 9:06 am | |
| Terry Lambert | Feb 15, 2001 3:35 pm | |
| Nate Williams | Feb 15, 2001 3:41 pm | |
| Terry Lambert | Feb 15, 2001 4:03 pm | |
| Terry Lambert | Feb 15, 2001 4:08 pm | |
| Terry Lambert | Feb 15, 2001 4:51 pm | |
| Arun Sharma | Feb 15, 2001 5:19 pm | |
| Arun Sharma | Feb 15, 2001 5:22 pm | |
| Seth Leigh | Feb 15, 2001 5:53 pm | |
| Nate Williams | Feb 15, 2001 7:17 pm | |
| Kris Kennaway | Feb 15, 2001 9:16 pm | |
| Russell Francis | Feb 15, 2001 9:31 pm | |
| Yifeng Xu | Feb 15, 2001 9:33 pm | |
| Arun Sharma | Feb 15, 2001 10:17 pm | |
| Kris Kennaway | Feb 15, 2001 10:35 pm | |
| Arun Sharma | Feb 15, 2001 11:01 pm | |
| Seth Leigh | Feb 15, 2001 11:19 pm | |
| Jordan Hubbard | Feb 16, 2001 2:06 am | |
| Jacques A. Vidrine | Feb 16, 2001 9:06 am | |
| Arun Sharma | Feb 16, 2001 10:45 am | |
| Kris Kennaway | Feb 16, 2001 9:24 pm |
| Subject: | Re: possible problem with SMP? | |
|---|---|---|
| From: | Arun Sharma (adsh...@sharmas.dhs.org) | |
| Date: | Feb 15, 2001 11:01:38 pm | |
| List: | org.freebsd.freebsd-smp | |
On 16 Feb 2001 02:57:09 +0100, Seth Leigh <se...@pengar.com> wrote:
With the normal threads library under Solaris (/usr/lib/libthread.so.1 and /usr/lib/libpthread.so.1) the default mode of operation is indeed n:m. However, if you declare a pthread_attr_t and call pthread_attr_setscope() on it with PTHREAD_SCOPE_SYSTEM, then any threads created subsequently are bound to an lwp. Threads created with PTHREAD_SCOPE_SYSTEM are 1:1.
Sun JDKs do not seem to do PTHREAD_SCOPE_SYSTEM under normal operation, so I can't see how their implementation would be 1:1.
Additionally, with Solaris 8 there is an alternate threads library (/usr/lib/lwp/libpthread.so.1) which is strictly 1:1. Ie: bound threads are all you get, and all scheduling and such is left to the kernel.
Since JDKs for pre Solaris 8 versions of Solaris exist, I assume that the JDK is not being linked against this lib.
-Arun
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message





