summaryrefslogtreecommitdiffstats
path: root/runtime/utils.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-27 11:47:01 -0700
committerElliott Hughes <enh@google.com>2014-08-28 09:56:32 -0700
commit6d3fc5615612e500a00aba0a0d331436fae8d996 (patch)
tree5a6426ee19d6398dbc38175b53a71a0b1fb7fad0 /runtime/utils.h
parentdbc0ca70bcee22561c2f0ab7129a7721369e9aea (diff)
downloadart-6d3fc5615612e500a00aba0a0d331436fae8d996.tar.gz
art-6d3fc5615612e500a00aba0a0d331436fae8d996.tar.bz2
art-6d3fc5615612e500a00aba0a0d331436fae8d996.zip
Actually ask the pthread implementation for the stack guard size.
(cherry-pick 307091dc306c34ce9e4ee6cc3b467807b3a3bd12.) Bug: 17111575 Change-Id: I23919b1e8aeff627a65daf57f1109bec60b196cc
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index c89c41f383..ad08697c92 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -414,7 +414,7 @@ pid_t GetTid();
std::string GetThreadName(pid_t tid);
// Returns details of the given thread's stack.
-void GetThreadStack(pthread_t thread, void** stack_base, size_t* stack_size);
+void GetThreadStack(pthread_t thread, void** stack_base, size_t* stack_size, size_t* guard_size);
// Reads data from "/proc/self/task/${tid}/stat".
void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu);