On Wed, Jan 07, 2009 at 01:44:08PM +0530, Balbir Singh wrote: > * Sudhir Kumar <[email protected]> [2009-01-02 17:02:03]: > > > The function test_attach_task_pid() was attaching the process calling the > > function to a group and did not have support to take any pid for attaching > > it to a group. This patch does that. > > > > Why do we pass pid 0 as an argument always? The infrastructure changes > look OK, but why is the pass pid 0 at all times? >
They are all for the current process, and when 0 is appended to the tasks file, moves the current task into that group. -- regards, Dhaval ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
