diff options
author | Nathan Binkert <nate@binkert.org> | 2009-05-26 09:23:13 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-05-26 09:23:13 -0700 |
commit | 47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca (patch) | |
tree | 6beb00dfe7e31b9bf82f7aba4710b0c487b6543f /src/sim | |
parent | d93392df28fc6c9a5c70fb6252a12afdc72d9344 (diff) | |
download | gem5-47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca.tar.xz |
types: add a type for thread IDs and try to use it everywhere
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/system.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh index e1c30490b..ab88160e2 100644 --- a/src/sim/system.hh +++ b/src/sim/system.hh @@ -89,7 +89,7 @@ class System : public SimObject std::vector<ThreadContext *> threadContexts; int _numContexts; - ThreadContext *getThreadContext(int tid) + ThreadContext *getThreadContext(ThreadID tid) { return threadContexts[tid]; } |