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

Unified Diff: src/trusted/port/thread.h

Issue 10365028: Debug stub: associate NaClAppThread with IThread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebased Created 8 years, 7 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
« no previous file with comments | « src/trusted/gdb_rsp/test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/port/thread.h
diff --git a/src/trusted/port/thread.h b/src/trusted/port/thread.h
index 38664184002b1cbacde41d68d910275dce3a40cb..eed194bb80865c7d78c38cf2e2b160c2cc6f2f05 100644
--- a/src/trusted/port/thread.h
+++ b/src/trusted/port/thread.h
@@ -22,6 +22,8 @@
#include "native_client/src/trusted/port/std_types.h"
+struct NaClAppThread;
+
namespace port {
class IThread {
@@ -50,7 +52,8 @@ class IThread {
virtual void *GetContext() = 0;
- static IThread *Acquire(uint32_t id, bool create = true);
+ static IThread *Create(uint32_t id, struct NaClAppThread *natp);
+ static IThread *Acquire(uint32_t id);
static void Release(IThread *thread);
static void SetExceptionCatch(CatchFunc_t func, void *cookie);
« no previous file with comments | « src/trusted/gdb_rsp/test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698