< prev index next >
src/os/posix/vm/os_posix.hpp
Print this page
rev 10257 : 8149036: Add tracing for thread related events at os level
Reviewed-by:
@@ -74,10 +74,15 @@
static void print_sa_flags(outputStream* st, int flags);
static address ucontext_get_pc(const ucontext_t* ctx);
// Set PC into context. Needed for continuation after signal.
static void ucontext_set_pc(ucontext_t* ctx, address pc);
+
+ // Helper function; describes pthread attributes as short string. String is written
+ // to buf with len buflen; buf is returned.
+ static char* describe_pthread_attr(char* buf, size_t buflen, const pthread_attr_t* attr);
+
};
/*
* Crash protection for the watcher thread. Wrap the callback
* with a sigsetjmp and in case of a SIGSEGV/SIGBUS we siglongjmp
< prev index next >