diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-16 18:27:17 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-16 18:27:17 +0000 |
commit | b1a2c5999897c21029cb2a36853989be619333b9 (patch) | |
tree | f98a055aad1692de9e5a29e0452d34f5bd2c737b /libbacktrace | |
parent | d4cc0c47d1863b42f55549852bae0c424c01006b (diff) | |
download | gcc-b1a2c5999897c21029cb2a36853989be619333b9.tar.gz |
* 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
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 5 | ||||
-rw-r--r-- | libbacktrace/backtrace.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 964efd629b7..8d305a9e409 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2013-11-16 Ian Lance Taylor <iant@google.com> + + * backtrace.h (backtrace_create_state): Correct comment about + threading. + 2013-11-15 Ian Lance Taylor <iant@google.com> * backtrace.h (backtrace_syminfo): Update comment and parameter diff --git a/libbacktrace/backtrace.h b/libbacktrace/backtrace.h index ef99baf85eb..3be400737c1 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. */ |