From b1a2c5999897c21029cb2a36853989be619333b9 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 16 Nov 2013 18:27:17 +0000 Subject: * backtrace.h (backtrace_create_state): Correct comment about threading. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204905 138bc75d-0d04-0410-961f-82ee72b054a4 --- libbacktrace/ChangeLog | 5 +++++ libbacktrace/backtrace.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'libbacktrace') diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 964efd629b79..8d305a9e409b 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2013-11-16 Ian Lance Taylor + + * backtrace.h (backtrace_create_state): Correct comment about + threading. + 2013-11-15 Ian Lance Taylor * backtrace.h (backtrace_syminfo): Update comment and parameter diff --git a/libbacktrace/backtrace.h b/libbacktrace/backtrace.h index ef99baf85eb5..3be400737c16 100644 --- a/libbacktrace/backtrace.h +++ b/libbacktrace/backtrace.h @@ -89,8 +89,7 @@ typedef void (*backtrace_error_callback) (void *data, const char *msg, system-specific path names. If not NULL, FILENAME must point to a permanent buffer. If THREADED is non-zero the state may be accessed by multiple threads simultaneously, and the library will - use appropriate locks (this requires that the library be configured - with --enable-backtrace-threads). If THREADED is zero the state + use appropriate atomic operations. If THREADED is zero the state may only be accessed by one thread at a time. This returns a state pointer on success, NULL on error. If an error occurs, this will call the ERROR_CALLBACK routine. */ -- cgit v1.2.3