Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: src/untrusted/pthread/pthread_types.h

Issue 623863002: Implement pthread_rwlock functions for NaCl newlib. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/untrusted/pthread/pthread_types.h
diff --git a/src/untrusted/pthread/pthread_types.h b/src/untrusted/pthread/pthread_types.h
index df587815c4a58896bd0cebd883304a9844dbe11a..26beaea4ffa392791c58f73ab2720c478b2730a4 100644
--- a/src/untrusted/pthread/pthread_types.h
+++ b/src/untrusted/pthread/pthread_types.h
@@ -52,6 +52,7 @@ typedef struct {
void *unused_dtv; /* increase compatibility with glibc's tcbhead_t */
int joinable;
int join_waiting;
+ int rdlock_count; /* how many rdlock's does this thread hold */
Mark Seaborn 2015/02/02 18:29:13 Nit: remove apostrophe. How about writing this as
Sam Clegg 2015/02/02 19:25:08 Done.
nc_thread_memory_block_t *stack_node;
nc_thread_memory_block_t *tls_node;
nc_thread_function start_func;

Powered by Google App Engine
This is Rietveld 408576698