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

Unified Diff: native_client_sdk/src/libraries/pthread/pthread.h

Issue 10815039: Make use of -lppapi explicit to allow for correct library order. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: native_client_sdk/src/libraries/pthread/pthread.h
===================================================================
--- native_client_sdk/src/libraries/pthread/pthread.h (revision 0)
+++ native_client_sdk/src/libraries/pthread/pthread.h (revision 0)
@@ -0,0 +1,29 @@
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef LIBRARIES_PTHREAD_PTHREAD_H_
+#define LIBRARIES_PTHREAD_PTHREAD_H_
+
+/**
+* Implementation of pthread.h for building the SDK natively Windows.
binji 2012/07/23 18:47:14 natively on Windows
noelallen1 2012/07/23 21:44:54 Done.
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef int pthread_mutex_t;
+
+int pthread_mutex_init(pthread_mutex_t* m, void* traits);
+int pthread_mutex_destroy(pthread_mutex_t* m);
+
+int pthread_mutex_lock(pthread_mutex_t* m);
+int pthread_mutex_unlock(pthread_mutex_t* m);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBRARIES_PTHREAD_PTHREAD_H_ */
Property changes on: native_client_sdk\src\libraries\pthread\pthread.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698