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

Side by Side Diff: src/untrusted/pthread/pthread.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/untrusted/pthread/nc_thread.c ('k') | src/untrusted/pthread/pthread_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** @file 7 /** @file
8 * Defines the API in the 8 * Defines the API in the
9 * <a href="group___pthread.html">Pthread library</a> 9 * <a href="group___pthread.html">Pthread library</a>
10 * 10 *
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 * @param[out] thread_id A pointer to the location where the identifier of the 401 * @param[out] thread_id A pointer to the location where the identifier of the
402 * newly created thread is stored on success. 402 * newly created thread is stored on success.
403 * @param attr Thread attributes structure. 403 * @param attr Thread attributes structure.
404 * @param start_routine Thread function. 404 * @param start_routine Thread function.
405 * @param arg A single argument that is passed to the thread function. 405 * @param arg A single argument that is passed to the thread function.
406 * 406 *
407 * @return 0 for success, non-zero error code otherwise. 407 * @return 0 for success, non-zero error code otherwise.
408 */ 408 */
409 extern int pthread_create(pthread_t *thread_id, 409 extern int pthread_create(pthread_t *thread_id,
410 const pthread_attr_t *attr, 410 const pthread_attr_t *attr,
411 void *(*start_routine) (void *p), 411 void *(*start_routine)(void *p),
412 void *arg); 412 void *arg);
413 413
414 /** @nqPosix 414 /** @nqPosix
415 * Obtains the identifier of the current thread. 415 * Obtains the identifier of the current thread.
416 * 416 *
417 * @linkPthread 417 * @linkPthread
418 * 418 *
419 * @return Thread ID of the current thread. 419 * @return Thread ID of the current thread.
420 */ 420 */
421 extern pthread_t pthread_self(void); 421 extern pthread_t pthread_self(void);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 683
684 /** 684 /**
685 * @} End of PTHREAD group 685 * @} End of PTHREAD group
686 */ 686 */
687 687
688 #ifdef __cplusplus 688 #ifdef __cplusplus
689 } 689 }
690 #endif 690 #endif
691 691
692 #endif /* pthread.h */ 692 #endif /* pthread.h */
OLDNEW
« no previous file with comments | « src/untrusted/pthread/nc_thread.c ('k') | src/untrusted/pthread/pthread_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698