Re: overhead of process/task_struct in POSIX threads- why?

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

 



while(1) {
};


Can somebody give me justification for this addition
of one more process for this?

The tight while loop accounts for second one. Try replacing this with pthread_join.

Regards,
Mohanlal

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