Hello Ben,

Ben Hutchings:
> But the kernel's 'pid' is really a thread ID.  If the HSM daemon is
> multithreaded, only one of its threads will get be recognised.

Maybe you are right.
But currently aufhsmd is not multi-threaded and it won't in the
future. It is important to fork() by its design which depends upon
SIGCHLD. So I'd keep this 'pid' now.
Of course, if aufhsmd becomes multi-threaded in the future, we should
use tid or tgid.

Thanks for pointing out.


J. R. Okajima

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

Reply via email to