diff options
author | Ian Lance Taylor <iant@google.com> | 2013-11-16 18:27:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-11-16 18:27:17 +0000 |
commit | 25e6253e21b0ffac7b3f734801c617a926302d21 (patch) | |
tree | f98a055aad1692de9e5a29e0452d34f5bd2c737b /libbacktrace/backtrace.h | |
parent | cfa658e4f8da804086f3076f907fcc98604bbf0d (diff) | |
download | gcc-25e6253e21b0ffac7b3f734801c617a926302d21.zip gcc-25e6253e21b0ffac7b3f734801c617a926302d21.tar.gz gcc-25e6253e21b0ffac7b3f734801c617a926302d21.tar.bz2 |
backtrace.h (backtrace_create_state): Correct comment about threading.
* backtrace.h (backtrace_create_state): Correct comment about
threading.
From-SVN: r204905
Diffstat (limited to 'libbacktrace/backtrace.h')
-rw-r--r-- | libbacktrace/backtrace.h | 3 |
1 files changed, 1 insertions, 2 deletions
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. */ |