improve sched_getaffinity() usage.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 20 Jun 2009 06:34:20 +0000 (06:34 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 20 Jun 2009 06:34:20 +0000 (06:34 +0000)
commit0e36f73a72507d8e6afe9a4842d38f6c8f5562a1
tree3f0895d2e2c00aadd7a558919908b835329584d6
parent5407c01516d0f7aeea95a5702d08e4064d201bcc
improve sched_getaffinity() usage.

 * handle error code and print out error message, this should remove
   invalid access traces from valgrind.

 * give "0" as pid to get self affinity, this is documented in the man
   page.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@41118 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/engines/common/evas_cpu.c