Re: Thread and process

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

 



Thanks for the reply. Where can I find the pthread.h header file? I couldn't
find it in my linux directory. My kernel version is 2.4.8. Also where can I
find the prototypes of the "pthread_" functions.

Regards,

Michael


----- Original Message -----
From: "HAIJIN YAN" <yan@cs.uga.edu>
To: "Michael Zhu" <mylinuxk@yahoo.ca>
Cc: <kernelnewbies@nl.linux.org>
Sent: Monday, January 14, 2002 7:21 PM
Subject: Re: Thread and process


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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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