Re: Thread and process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linux follows the POSIX standard, you can use any of POSIX standard thread
function in the library. All functions begin with the prefix "pthread_".
there is no difference from what you familiar under solaris.

remember to include the pthread.h header file.

--Haijin

On Mon, 14 Jan 2002, Michael Zhu wrote:

> Hi, does Linux have the concept of thread? How can I
> create a thread in my application? I can use the
> fork() to create a process. Is there any API to create
> a thread? I know in kernel mode kernel_thread() can be
> used to create a thread in kernel mode. What is that
> in user mode?
>
> Thanks
>
> Michael
>
> ______________________________________________________________________
> Web-hosting solutions for home and business! http://website.yahoo.ca
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> IRC Channel:   irc.openprojects.net / #kernelnewbies
> Web Page:      http://www.kernelnewbies.org/
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux