answersLogoWhite

0


Best Answer

If you are developing your application in user space, you can use POSIX threads implementation from glibc library.

bash# man pthread_create

You can also implement threads in kernel space using kthreads.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How threads are implemented in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Multiple threads with JavaScrip?

Workers or worker threads in ES5. Not implemented in IE <9.


What method must be implemented by all Threads?

The "run" method.


What java interface must be implemented by all threads?

Runnable interface


How threads are implemented in unix?

There are multiple ways to implement threads. An answer is beyond the scope of this site - I would refer you to the many textbooks on operating systems that explain this in detail.


What operation system has TCP IP built into it?

TCP/IP is not a specific program, but a specification. It has been implemented in different operating systems, like Windows, Linux, Cisco IOS, and others.TCP/IP is not a specific program, but a specification. It has been implemented in different operating systems, like Windows, Linux, Cisco IOS, and others.TCP/IP is not a specific program, but a specification. It has been implemented in different operating systems, like Windows, Linux, Cisco IOS, and others.TCP/IP is not a specific program, but a specification. It has been implemented in different operating systems, like Windows, Linux, Cisco IOS, and others.


What was the first 64-bit Linux platform for SAP application server and when was it first implemented?

ARMv8 on 2004


Is router hardware?

Yes - it is usually implemented as a hardware device. There are router emulators, though, that run as a software, for example on Linux.


Is a router hardware?

Yes - it is usually implemented as a hardware device. There are router emulators, though, that run as a software, for example on Linux.


Why thread is called light weight process?

Threads are implemented by a library that utilizes underlying kernel-supported threads of control, called light-weight processes (LWPs). http://java.icmc.usp.br/books/os/html/threads_lightweight_process.html


Why is TCP faster in Linux than in Windows?

Pretty much everything is faster in Linux than in Windows. The Windows programmers need to prove to their bosses that they are doing the right thing, but the Linux programmers only need to prove to their peers that they are doing the right thing when they make improvements. Linux has things like zero-copy networking, which are not widely implemented in the Windows kernel(s).


What is a .ko file in Linux?

The .ko extension is placed on kernel modules (loadable drivers) in Linux. Further, '.ko' extension is called 'kernel Object', and is implemented from kernel 2.6 onwards, this is perhaps the biggest change as far as loadable kernel modules are concerend. For example, the serial device driver that in Linux 2.4 lived in the file 'serial.o' in Linux 2.6 lives in the file 'serial.ko' .


How are file systems treated under Linux?

Most file systems are treated almost exactly like drivers or kernel modules. Some can also be implemented in userspace (ex. FUSE).