diff options
author | shennetsind <ind@henn.et> | 2013-09-25 08:50:52 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-25 08:50:52 -0300 |
commit | 1114eb3da58b078258a824424fef687a1ccee90c (patch) | |
tree | 1b9c3e4ef48021ce89b331bba2d49061bd08f341 /src/common/mutex.c | |
parent | 78c7c6bf04a6c96d92524ae37ad165e65f599eb8 (diff) | |
download | hercules-1114eb3da58b078258a824424fef687a1ccee90c.tar.gz hercules-1114eb3da58b078258a824424fef687a1ccee90c.tar.bz2 hercules-1114eb3da58b078258a824424fef687a1ccee90c.tar.xz hercules-1114eb3da58b078258a824424fef687a1ccee90c.zip |
Renamed iTimer interface to timer.
Also removed duplicate mentions of timer within calls to shorten.
Diffstat (limited to 'src/common/mutex.c')
-rw-r--r-- | src/common/mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mutex.c b/src/common/mutex.c index 6bb1efdab..0668dbc41 100644 --- a/src/common/mutex.c +++ b/src/common/mutex.c @@ -201,7 +201,7 @@ void racond_wait( racond c, ramutex m, sysint timeout_ticks){ pthread_cond_wait( &c->hCond, &m->hMutex ); }else{ struct timespec wtime; - int64 exact_timeout = iTimer->gettick() + timeout_ticks; + int64 exact_timeout = timer->gettick() + timeout_ticks; wtime.tv_sec = exact_timeout/1000; wtime.tv_nsec = (exact_timeout%1000)*1000000; |