Implement function to drop priority of current thread
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Sep 2010 20:38:48 +0000 (20:38 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Sep 2010 20:38:48 +0000 (20:38 +0000)
commita98820ba98152e4ad5d9236b764faab90a9639ac
tree6b6e8d0cf88a113e3e24487ada615e1a982505ab
parent4d5479406d28602211435e7f31876f70891102f4
Implement function to drop priority of current thread
This function is useful for libraries like ecore and evas that have to
set some worker threads. The first thing these threads should do is to
call this function, so the main thread might continue running without
the worker threads interrupting it too much.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@52651 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/Eina.h
src/include/Makefile.am
src/include/eina_sched.h [new file with mode: 0644]
src/lib/Makefile.am
src/lib/eina_sched.c [new file with mode: 0644]
src/tests/Makefile.am
src/tests/eina_suite.c
src/tests/eina_suite.h
src/tests/eina_test_sched.c [new file with mode: 0644]