[asterisk-commits] rmudgett: branch rmudgett/debug_threads r429351 - /team/rmudgett/debug_thread...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 10 16:58:38 CST 2014
Author: rmudgett
Date: Wed Dec 10 16:58:36 2014
New Revision: 429351
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=429351
Log:
Fix some more bad grammer in locks.c comments.
Modified:
team/rmudgett/debug_threads/main/lock.c
Modified: team/rmudgett/debug_threads/main/lock.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/debug_threads/main/lock.c?view=diff&rev=429351&r1=429350&r2=429351
==============================================================================
--- team/rmudgett/debug_threads/main/lock.c (original)
+++ team/rmudgett/debug_threads/main/lock.c Wed Dec 10 16:58:36 2014
@@ -163,11 +163,11 @@
#if defined(AST_MUTEX_INIT_W_CONSTRUCTORS) && defined(CAN_COMPARE_MUTEX_TO_INIT_VALUE)
if ((t->mutex) == ((pthread_mutex_t) PTHREAD_MUTEX_INITIALIZER)) {
- /* Don't try to uninitialize non initialized mutex
+ /* Don't try to uninitialize an uninitialized mutex
* This may have no effect on linux
- * And always ganerate core on *BSD with
- * linked libpthread
- * This not error condition if the mutex created on the fly.
+ * but it always generates a core on *BSD when
+ * linked with libpthread.
+ * This is not an error condition if the mutex is created on the fly.
*/
__ast_mutex_logger("%s line %d (%s): NOTICE: mutex '%s' is uninitialized.\n",
filename, lineno, func, mutex_name);
More information about the asterisk-commits
mailing list