summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_time.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
commitb84aa64dcbfb92d31cef10f2f45025a67f2418e4 (patch)
treebd7509540538801bdde233b24c0a130fbd6d757a /src/nxt_thread_time.h
parent8b4b52ae3b3c9400b3d7040a591203a0c1b74ec3 (diff)
downloadunit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.gz
unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.bz2
Removed configure option --no-threads.
Diffstat (limited to '')
-rw-r--r--src/nxt_thread_time.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nxt_thread_time.h b/src/nxt_thread_time.h
index 126709de..05ecd938 100644
--- a/src/nxt_thread_time.h
+++ b/src/nxt_thread_time.h
@@ -61,17 +61,13 @@ typedef struct {
} nxt_thread_time_t;
-#if (NXT_THREADS)
-void nxt_time_thread_start(nxt_msec_t interval);
-#endif
-
-
NXT_EXPORT void nxt_thread_time_update(nxt_thread_t *thr);
void nxt_thread_time_free(nxt_thread_t *thr);
NXT_EXPORT nxt_time_t nxt_thread_time(nxt_thread_t *thr);
NXT_EXPORT nxt_realtime_t *nxt_thread_realtime(nxt_thread_t *thr);
NXT_EXPORT u_char *nxt_thread_time_string(nxt_thread_t *thr,
nxt_time_string_t *ts, u_char *buf);
+void nxt_time_thread_start(nxt_msec_t interval);
#define \