Ed Schouten <e...@80386.nl> writes:
> Maslan <maslan...@gmail.com> writes:
> > However, when i checked the pid & tid of the new created thread it
> > was not the same as the parent nor as the proc0 & thread0
> I am not sure, but sharing another process's address space doesn't have
> to imply it shares the same pid, right?

The man page explicitly states that if no process is specified, the new
thread is assigned to proc0, which has a valid filedesc table, valid
creds etc., so this shouldn't be a problem.  However, he's getting a
different PID, which shouldn't happen.  Either the man page is wrong, or
things were different in 7.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to