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

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

Issue 11299315: Cleanup: Fix various coding style issues in src/untrusted/pthread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review Created 8 years 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
« no previous file with comments | « src/untrusted/pthread/pthread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/pthread/pthread_types.h
diff --git a/src/untrusted/pthread/pthread_types.h b/src/untrusted/pthread/pthread_types.h
index 11914b12891fb34b9e1dc79237dfb4a8ec702ca6..3d1493278f07411c0ca695521bb993920b605405 100644
--- a/src/untrusted/pthread/pthread_types.h
+++ b/src/untrusted/pthread/pthread_types.h
@@ -19,10 +19,10 @@ extern "C" {
#endif
void nc_token_init(volatile int *token, int acquire);
-int nc_token_acquire(volatile int *token);
+int nc_token_acquire(volatile int *token);
void nc_token_release(volatile int *token);
-int nc_pthread_condvar_ctor(pthread_cond_t * cond);
+int nc_pthread_condvar_ctor(pthread_cond_t *cond);
typedef enum {
THREAD_RUNNING,
@@ -60,8 +60,8 @@ typedef struct {
int join_waiting;
nc_thread_memory_block_t *stack_node;
nc_thread_memory_block_t *tls_node;
- nc_thread_function start_func;
- void* state;
+ nc_thread_function start_func;
+ void *state;
/*
* irt_thread_data is used when libpthread is linked into the IRT.
* It is used for free()ing the thread block.
@@ -76,7 +76,7 @@ typedef struct __nc_basic_thread_data {
void *retval;
nc_thread_status_t status;
pthread_cond_t join_condvar;
- /* pointer to the tdb, will be null after the thread terminates */
+ /* Pointer to the tdb, will be null after the thread terminates. */
nc_thread_descriptor_t *tdb;
} nc_basic_thread_data_t;
« no previous file with comments | « src/untrusted/pthread/pthread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698