From: Ian Lance Taylor Date: Sat, 16 Nov 2013 18:27:17 +0000 (+0000) Subject: backtrace.h (backtrace_create_state): Correct comment about threading. X-Git-Tag: upstream/12.2.0~66547 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25e6253e21b0ffac7b3f734801c617a926302d21;p=platform%2Fupstream%2Fgcc.git backtrace.h (backtrace_create_state): Correct comment about threading. * backtrace.h (backtrace_create_state): Correct comment about threading. From-SVN: r204905 --- diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 964efd6..8d305a9 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 ef99baf..3be4007 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. */