Re: User-level threads and preemption

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

 



On Monday 22 April 2002 05:02 am,  Erik Mouw wrote:
> > 	If one userspace thread is doing a system call and is pre-empted, can
> > the process execute another of its own thread  that also executes a
> > system call ?
>
> Sure, why not? Threads and processes are almost the same on linux, so
> if a process can be preempted, a thread can also be preempted.

Sorry, i suppose i didn't say it right.  I wasn't talking about the threads
that you create using a system call ( eg. clone() ), but i was referring to
user-space libs ( like pthread,etc, )

regards
Sridhar
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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