backtrace.h (backtrace_create_state): Correct comment about threading.

* backtrace.h (backtrace_create_state): Correct comment about
	threading.

From-SVN: r204905
This commit is contained in:
Ian Lance Taylor 2013-11-16 18:27:17 +00:00 committed by Ian Lance Taylor
parent cfa658e4f8
commit 25e6253e21
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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. */