diff options
author | Glenn Kasten <gkasten@google.com> | 2011-07-05 15:08:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-07-05 15:08:31 -0700 |
commit | 4431c05f136bc1073b368221e3515aaf7fe8424e (patch) | |
tree | d93ce746f59b3bdd16dd3acae3de81676e21f802 /include | |
parent | 324a1f6a125637269d3955e5a0935d3eb873b015 (diff) | |
parent | 60d47796ccfb3db3ab73017897f648678daddc83 (diff) | |
download | frameworks_base-4431c05f136bc1073b368221e3515aaf7fe8424e.zip frameworks_base-4431c05f136bc1073b368221e3515aaf7fe8424e.tar.gz frameworks_base-4431c05f136bc1073b368221e3515aaf7fe8424e.tar.bz2 |
Merge "Thread ID zero for androidSetThreadSchedulingGroup"
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/threads.h b/include/utils/threads.h index 0bd69cf..41f67e4 100644 --- a/include/utils/threads.h +++ b/include/utils/threads.h @@ -133,13 +133,13 @@ extern pid_t androidGetTid(); // Change the scheduling group of a particular thread. The group // should be one of the ANDROID_TGROUP constants. Returns BAD_VALUE if // grp is out of range, else another non-zero value with errno set if -// the operation failed. +// the operation failed. Thread ID zero means current thread. extern int androidSetThreadSchedulingGroup(pid_t tid, int grp); // Change the priority AND scheduling group of a particular thread. The priority // should be one of the ANDROID_PRIORITY constants. Returns INVALID_OPERATION // if the priority set failed, else another value if just the group set failed; -// in either case errno is set. +// in either case errno is set. Thread ID zero means current thread. extern int androidSetThreadPriority(pid_t tid, int prio); #ifdef __cplusplus |