diff options
author | rbackman <none@none> | 2012-03-06 12:36:59 +0100 |
---|---|---|
committer | rbackman <none@none> | 2012-03-06 12:36:59 +0100 |
commit | 185df800609793e7b9142afe2f77ff5007e86a90 (patch) | |
tree | 1565bc57844382a9f96080a16424e66b78acc8fa /src/os/linux | |
parent | fafce2a0026105885be0ee82477f423aee59854d (diff) |
7160570: Intrinsification support for tracing framework
Reviewed-by: sla, never
Diffstat (limited to 'src/os/linux')
-rw-r--r-- | src/os/linux/vm/osThread_linux.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/linux/vm/osThread_linux.hpp b/src/os/linux/vm/osThread_linux.hpp index 22945135b..fe9fe6188 100644 --- a/src/os/linux/vm/osThread_linux.hpp +++ b/src/os/linux/vm/osThread_linux.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -56,6 +56,8 @@ sigset_t caller_sigmask() const { return _caller_sigmask; } void set_caller_sigmask(sigset_t sigmask) { _caller_sigmask = sigmask; } + static size_t thread_id_size() { return sizeof(pid_t); } + pid_t thread_id() const { return _thread_id; } |