1821609 Members
3458 Online
109633 Solutions
New Discussion юеВ

threads on hpux 11

 
SOLVED
Go to solution
Bruno Misculin Rosamili
Occasional Advisor

threads on hpux 11

Hi,
I need on hpux 11 to use the same threads behaviour of the 10.20 (without kernel threads and gang scheduling).
Is it possible?

bye
4 REPLIES 4
Steve Steel
Honored Contributor

Re: threads on hpux 11

Hi


http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,970,00.html#dcepkg


Should help you


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
harry d brown jr
Honored Contributor
Solution

Re: threads on hpux 11

You asked the same question here:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6a75107d277ad611abdb0090277a778c,00.html

The only way to turn kernel threads off in the OS is to revert back to 10.20 or FIX the application that is broken.

What is this MIDDLEWARE, who is the vendor and what is the application?

live free or die
harry
Live Free or Die
Bruno Misculin Rosamili
Occasional Advisor

Re: threads on hpux 11


The middleware is "Forte".
We port the application on hpux 11 and some deadlock happens, we suppose because of the kernel threads.
The system is a production one.
We cannot spend days for developers job or
switch back to 10.20 so I'm looking for possible solutions.
I saw in manuals the parameter nkthread and the environment variable MP_GANG.

Have you some information about?

TIA

Kiran N. Mehta
Advisor

Re: threads on hpux 11

If you expressly set the contention-scope field (to PTHREAD_SCOPE_PROCESS) of the attributes-object used in your pthread_creat() call, then you can rest assured that no MORE kernel level threads than the minimal 1 per process will get created...

If your 11.00 specific problem persists, it lies elsewhere.

Good Luck,
Kiran