These patches introduce three new APIs

1. cgroup_get_tasks_begin
2. cgroup_get_tasks_next
3. cgroup_get_tasks_end

These APIs allow access to the list of tasks in a cgroup.

These APIs are tested with the test case in patch 2 and the
results are as follows,

[dha...@gondor tests]$ ../libtool --mode=execute ./walk_task a
Printing the details of groups a
Pid is 6092
Pid is 11315
Pid is 11318
Pid is 11319
Pid is 11324
Pid is 13234
[dha...@gondor tests]$

(making use of the nice libtool which does not require various things
to be set to use the newest version of the library :). Thanks Jan!)

Please review and let me know your opinions.

Thanks,
-- 
regards,
Dhaval


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to