Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on

Re: Duplication of all threads or A new process with only one thread

I got the below info from http://tldp.org/FAQ/Threads-FAQ/Problems.html
" The POSIX 1c standard defines a thread calling fork() to duplicate
only the calling thread in the new process; and an execve() from a
thread would stop all threads of that process."
Thx,
Karthik Balaguru

Re: Duplication of all threads or A new process with only one thread

I see: the child created with fork is considered to be a new process and
not a thread of the parent process.
That brings up the question: how to create a new thread. But don't
bother, I'll be using the pthread library to do that for me :).
Thanks,
-Michael
Site Timeline
- » Safesquid Version 4.2.2.RC8.2 released
- — Next thread in » Embedded Linux
-
- » Unable to handle kernel paging request at 00000000b1b06636
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » ottenere alim duale da trafo singolo
- — The site's Newest Thread. Posted in » Electronics Hobby (Italian)
-
- » soldermaska zastÄ™pcza
- — The site's Last Updated Thread. Posted in » Electronics (Polish)
-