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

Side by Side Diff: ppapi/native_client/tests/ppapi_geturl/nacl_file_main.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Tests nacl_file library. 5 // Tests nacl_file library.
6 // 6 //
7 7
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Run the test from the main thread again, this time competing with 205 // Run the test from the main thread again, this time competing with
206 // the other threads. 206 // the other threads.
207 info.rseed = rand_r(&rseed); 207 info.rseed = rand_r(&rseed);
208 test_nacl_file_thread(&info); 208 test_nacl_file_thread(&info);
209 // Give the threads a chance to start racing before joining them. 209 // Give the threads a chance to start racing before joining them.
210 usleep(100000); 210 usleep(100000);
211 for (int i = 0; i < kNumThreads; ++i) { 211 for (int i = 0; i < kNumThreads; ++i) {
212 pthread_join(thread[i], NULL); 212 pthread_join(thread[i], NULL);
213 } 213 }
214 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698