Christopher Tate
07d69893e1
Reset binder service threads' cgroup/priority after command completion
...
To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.
Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
2009-11-08 14:29:02 -08:00
Evan Millar
6dfe8f1ffa
Revert jparks code from IPCThreadState.
2009-11-06 11:25:23 -08:00
Jason Parks
b5c4135333
When a thread is about to be put back onto the thread pool ensure that it is in the foreground cgroup.
2009-11-04 14:25:26 -08:00
Jason Parks
dcd3958c50
Add a warning when we leave threads in the binder thread pool in the background scheduling group.
2009-11-03 13:10:15 -08:00
Marco Nelissen
d43b194b69
Instead of using -1 for pid and uid in the simulator, and then having
...
to special-case the simulator case all over the framework, just use
getuid and getpid, and intercept those in the simulator wrapper.
2009-07-17 10:48:09 -07:00
Mathias Agopian
c5b2c0bf80
move libbinder's header files under includes/binder
2009-05-20 12:55:03 -07:00
Mathias Agopian
208059f67e
checkpoint: split libutils into libutils + libbinder
2009-05-20 12:55:02 -07:00