aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/pthread
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-12-09 15:09:50 +0100
committerRickard Green <[email protected]>2010-12-14 16:58:41 +0100
commit267a5e7f6e0d578b3c9224fb87b78f76a9300c87 (patch)
tree39ca64b0dba29207e42c5572b59537028c7dab88 /erts/lib_src/pthread
parentb297bfdd47b0a39831d8cc2541aeb910f9af0bca (diff)
downloadotp-267a5e7f6e0d578b3c9224fb87b78f76a9300c87.tar.gz
otp-267a5e7f6e0d578b3c9224fb87b78f76a9300c87.tar.bz2
otp-267a5e7f6e0d578b3c9224fb87b78f76a9300c87.zip
Remove unused ethread time functionality
Diffstat (limited to 'erts/lib_src/pthread')
-rw-r--r--erts/lib_src/pthread/ethread.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/erts/lib_src/pthread/ethread.c b/erts/lib_src/pthread/ethread.c
index 7e5f92655c..fc6aef2d1f 100644
--- a/erts/lib_src/pthread/ethread.c
+++ b/erts/lib_src/pthread/ethread.c
@@ -349,32 +349,6 @@ ethr_leave_ts_event(ethr_ts_event *tsep)
}
/*
- * Current time
- */
-
-int
-ethr_time_now(ethr_timeval *time)
-{
- int res;
- struct timeval tv;
-#if ETHR_XCHK
- if (ethr_not_inited__) {
- ETHR_ASSERT(0);
- return EACCES;
- }
- if (!time) {
- ETHR_ASSERT(0);
- return EINVAL;
- }
-#endif
-
- res = gettimeofday(&tv, NULL);
- time->tv_sec = (long) tv.tv_sec;
- time->tv_nsec = ((long) tv.tv_usec)*1000;
- return res;
-}
-
-/*
* Thread specific data
*/