Does Posix support kernel level threading?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Does Posix support kernel level threading?
# 1  
Old 11-19-2008
Does Posix support kernel level threading?

Hi All,

Please let me know the following.
1) Does POSIX lib support kernel threads? if yes, please let me know what are the specific function calls used to create/manage kernel threads.
2) Is Posix scalable?
3) Does POSIX take the advantage of multiprocessor systems?

your help is much appreciated.

Thanks in advance.
# 2  
Old 11-19-2008
What is a POSIX lib? libpthread.so is the POSIX threads library for a system that supports POSIX threads. How they are implemented is up to the kernel developer, not POSIX.

For Linux there is one API call: clone() that is unique to linux. It is used to exec new processes to be used mostly for threads.

Is POSIX scalable; multiprocessor support?

This does not make much sense to me:
POSIX is a standard, a set of rules - like a green traffic signal means "go". It doesn't say how big or bright the green light has to be. Just says 'must be green'
# 3  
Old 11-19-2008
Quote:
Originally Posted by jim mcnamara
What is a POSIX lib? libpthread.so is the POSIX threads library for a system that supports POSIX threads. How they are implemented is up to the kernel developer, not POSIX.

For Linux there is one API call: clone() that is unique to linux. It is used to exec new processes to be used mostly for threads.

Is POSIX scalable; multiprocessor support?

This does not make much sense to me:
POSIX is a standard, a set of rules - like a green traffic signal means "go". It doesn't say how big or bright the green light has to be. Just says 'must be green'

Jim,

Thank you for your quick response.

When I say POSIX, I mean POSIX library, sorry for the confusion.
Let me put it in this way..
Does Posix library(on Redhat linux) has functions to create kernel threads?
for example pthread_create() creates user thread, pls correct me if I am wrong.

Scalability: Is this library scalable (posix lib that is provided with Linux distribution )

Does it(posix lib on linux ) take the advantage of multiprocessor system?

Hope this makes sense.
# 4  
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
# 5  
Old 11-19-2008
Yes - pthread_create, pthread_join, etc.

try: man pthread it will list dozens of functions
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question