diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-03-15 16:33:43 -0700 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-04-23 15:30:02 -0700 |
| commit | f1b56449f58963e4f0473d5e26961f68c31759f4 (patch) | |
| tree | 85d9d2f9f659f41f8dbe24e5db015074451718ca /docs/html/sdk/api_diff/14/changes.html | |
| parent | 362bcb06ad92c561cc23410e59e11ead7bf38e22 (diff) | |
Scheduling group cleanup
The C++ API for scheduling groups is going away, so use the C API.
Renumber THREAD_GROUP_* constants to have the same values as SP_*.
They are @hide so this should be OK.
The old THREAD_GROUP_FG_BOOST constant is removed, and replaced by a
(private) THREAD_GROUP_FOREGROUND constant that is just a placeholder
to correspond to SP_FOREGROUND. It is not usable at this level.
Improved performance of android_os_Process_setProcessGroup:
avoid unnecessary syscall to getpriority for each tid.
Fixed error handling in android_os_Process_setThreadGroup.
It raises an exception if set_sched_policy() returns an error.
Add comments and fix typos in existing comments.
Change-Id: Ib922e92c945985c695ef0addbd2b83b8e82865f8
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes.html')
0 files changed, 0 insertions, 0 deletions
