projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mutex: abstract out cond/lock pshared init
[fio.git]
/
gettime-thread.c
diff --git
a/gettime-thread.c
b/gettime-thread.c
index 2dc976fb42c7bbb5b4deedc0746d5577bd5c1e0b..6dc14864fdc61bb8380702c154dce5e83f60d2b0 100644
(file)
--- a/
gettime-thread.c
+++ b/
gettime-thread.c
@@
-9,9
+9,7
@@
struct timeval *fio_tv = NULL;
int fio_gtod_offload = 0;
static pthread_t gtod_thread;
struct timeval *fio_tv = NULL;
int fio_gtod_offload = 0;
static pthread_t gtod_thread;
-#ifdef FIO_HAVE_CPU_AFFINITY
static os_cpu_mask_t fio_gtod_cpumask;
static os_cpu_mask_t fio_gtod_cpumask;
-#endif
void fio_gtod_init(void)
{
void fio_gtod_init(void)
{
@@
-83,7
+81,7
@@
int fio_start_gtod_thread(void)
ret = pthread_detach(gtod_thread);
if (ret) {
ret = pthread_detach(gtod_thread);
if (ret) {
- log_err("Can't deta
t
ch gtod thread: %s\n", strerror(ret));
+ log_err("Can't detach gtod thread: %s\n", strerror(ret));
goto err;
}
goto err;
}