Sponsored Content
Operating Systems Linux Ubuntu Does Posix support kernel level threading? Post 302260080 by Lakris on Wednesday 19th of November 2008 04:02:25 PM
Old 11-19-2008
I had a question just like that on a test once... You know the type of general, all encompassing, testing type of test questions... almost suitable for an essay...

/L
 

9 More Discussions You Might Find Interesting

1. Programming

Multi threading using posix thread library

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

Oot: Level 2 Unix Support? meaning

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

Where/What/Howto solve warning/error msg about Kernel patch level?

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

Kernel Support

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

ACL (POSIX and NFSv4) Support over NFS shared drives on different Unix platforms

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

Kernel Patch level of ABE.

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

Phenom II support in kernel

Does anyone know at which kernel version support for Phenom II x6 first appeared? (7 Replies)
Discussion started by: Varsel
7 Replies

8. Solaris

Older OS support in Kernel zones

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

Does UNIX support multi-Threading ?

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
PTHREAD_SETCONCURRENCY(3)				     Linux Programmer's Manual					 PTHREAD_SETCONCURRENCY(3)

NAME
pthread_setconcurrency, pthread_getconcurrency - set/get the concurrency level SYNOPSIS
#include <pthread.h> int pthread_setconcurrency(int new_level); int pthread_getconcurrency(void); Compile and link with -pthread. DESCRIPTION
The pthread_setconcurrency() function informs the implementation of the application's desired concurrency level, specified in new_level. The implementation takes this only as a hint: POSIX.1 does not specify the level of concurrency that should be provided as a result of calling pthread_setconcurrency(). Specifying new_level as 0 instructs the implementation to manage the concurrency level as it deems appropriate. pthread_getconcurrency() returns the current value of the concurrency level for this process. RETURN VALUE
On success, pthread_setconcurrency() returns 0; on error, it returns a nonzero error number. pthread_getconcurrency() always succeeds, returning the concurrency level set by a previous call to pthread_setconcurrency(), or 0, if pthread_setconcurrency() has not previously been called. ERRORS
pthread_setconcurrency() can fail with the following error: EINVAL new_level is negative. POSIX.1-2001 also documents an EAGAIN error ("the value specified by new_level would cause a system resource to be exceeded"). VERSIONS
These functions are available in glibc since version 2.1. CONFORMING TO
POSIX.1-2001. NOTES
The default concurrency level is 0. Concurrency levels are meaningful only for M:N threading implementations, where at any moment a subset of a process's set of user-level threads may be bound to a smaller number of kernel-scheduling entities. Setting the concurrency level allows the application to give the system a hint as to the number of kernel-scheduling entities that should be provided for efficient execution of the application. Both LinuxThreads and NPTL are 1:1 threading implementations, so setting the concurrency level has no meaning. In other words, on Linux these functions merely exist for compatibility with other systems, and they have no effect on the execution of a program. SEE ALSO
pthread_attr_setscope(3), pthreads(7) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2009-04-10 PTHREAD_SETCONCURRENCY(3)
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy