11-19-2008
Yes - pthread_create, pthread_join, etc.
try: man pthread it will list dozens of functions
9 More Discussions You Might Find Interesting
1. Programming
hi all,
can anyone tell me some good site for the mutithreading tutorials, its application, and some code examples.
-sushil (2 Replies)
Discussion started by: shushilmore
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I am sorry, I know this is not correct forum/silly question (usually this is requirement in some vacancies), but i hope someone can explain to me, what is the meaning of :
SUN Tier 3 Support
Tier 3 Application Installation
Level 2 Solaris
Level 2 AD MOM + DBA
Thank you. (0 Replies)
Discussion started by: blesets
0 Replies
3. Solaris
required Solaris 5.10 Kernel patch 137111-03
required Solaris 5.10 Fibre Channel Device Driver patch 125184-08
I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to learn that all the family of x86 processors are supported by kernel.
I want to buy a board, which has VIA ESP10K processor and
CHIPSET: VIA CN333 north bridge & VIA VT8237R south bridge
Where can I find this?
Thanks. (5 Replies)
Discussion started by: yildiz.a
5 Replies
5. UNIX for Dummies Questions & Answers
Hello, I have a question regarding ACLs and their availability across different Unix platforms via NFS share.
If I have an AIX/FreeBSD/Solaris/HP-UX client that has an nfs share from a different system mounted on it, will the ACLs on the nfs share be processed properly?
My guess is that as... (2 Replies)
Discussion started by: bstring
2 Replies
6. Solaris
Hi,
Anyone able to advise on how to find the kernel patch level of an ABE?
showrev and uname -a will provide kernel patch details of the running environment, but how can I run these commands against the ABE or where do these commands get their information from i.e. is the kernel patch level... (3 Replies)
Discussion started by: CiCa
3 Replies
7. Ubuntu
Does anyone know at which kernel version support for Phenom II x6 first appeared? (7 Replies)
Discussion started by: Varsel
7 Replies
8. Solaris
folks,
I have a query. Can we create Kernel zone with the earlier Solaris OS?
More precisely Can i create kernel zone with any different OS than that of OS in global zone. As of now in sol11U2 if we create kernel zone, there will be sol11u2 OS in kernel zone since the same is in global.
But... (4 Replies)
Discussion started by: Vaishey
4 Replies
9. UNIX for Beginners Questions & Answers
Not just background process running ... but im looking if unix has any multi-threading concept like in Java, C# ... if not present, can you pls share the nearest feature in unix that is close to multi-threaded concept (3 Replies)
Discussion started by: i4ismail
3 Replies
LEARN ABOUT HPUX
lcpu_attr
lcpu_attr(5) File Formats Manual lcpu_attr(5)
NAME
lcpu_attr - dynamically enable or disable LCPU attribute of the default processor set
VALUES
Fail Safe
Default
the LCPU attribute of the default processor set is disabled
Allowed values
or
DESCRIPTION
This tunable dynamically enables or disables the logical processor (LCPU) attribute in the default processor set. On systems supporting
hyper-threading technology, each hyper-thread is represented as an LCPU.
When the LCPU attribute is enabled, the processor cores in the default processor have hyper-threading enabled. If the LCPU attribute is
disabled, the physical processors in the default processor set behave as single threaded processor cores.
See pset_setattr(2) for information about managing the LCPU attribute in processor sets other than the default processor set.
Who Is Expected to Change This Tunable?
System administrators that wish to change hyper-threading ability in the default processor set.
Restrictions on Changing
The tunable has no effect on platforms that do not have hyper-threading capability or systems with hyper-threading disabled at the firmware
level. On systems that support hyper-threading, the firmware feature must be enabled to dynamically enable/disable the LCPU attribute in
the default processor set.
When Should the Tunable Be Turned On?
The tunable should be turned on to enable the LCPU attribute in the default processor set to take advantage of hyper-threading. If the
applications running on the system see performance benefits, the LCPU attribute should remain enabled.
What Are the Side Effects of Turning the Tunable On?
Some workloads may experience performance degradation when the LCPU attribute is enabled.
When Should the Tunable Be Turned Off?
Some applications may experience performance degradation or may not see any performance benefits from using hyper-threading. In this case,
this tunable should be turned off.
What Are the Side Effects of Turning the Tunable Off?
With LCPU turned off, applications may not take advantage of hyper-threading.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO
psrset(1M), pset_assign(2), pset_bind(2), pset_create(2), pset_ctl(2), pset_destroy(2), privgrp(4).
Tunable Kernel Parameters lcpu_attr(5)