Author: Armin Rigo <[email protected]>
Branch: static-callback-embedding
Changeset: r2507:a0c1877f9051
Date: 2016-01-01 11:50 +0100
http://bitbucket.org/cffi/cffi/changeset/a0c1877f9051/
Log: fix docstring
diff --git a/cffi/_embedding.h b/cffi/_embedding.h
--- a/cffi/_embedding.h
+++ b/cffi/_embedding.h
@@ -66,7 +66,7 @@
while (!cffi_compare_and_swap(&lock, NULL, (void *)1)) {
/* should ideally do a spin loop instruction here, but
hard to do it portably and doesn't really matter I
- think: PyEval_InitThreads() should be very fast, and
+ think: pthread_mutex_init() should be very fast, and
this is only run at start-up anyway. */
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit