projects
/
fbgfx
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no-thread option, coalesced tunnel lut, more accurate fps counter
[fbgfx]
/
src
/
tpool.c
diff --git
a/src/tpool.c
b/src/tpool.c
index
9e73f44
..
4d06570
100644
(file)
--- a/
src/tpool.c
+++ b/
src/tpool.c
@@
-1,3
+1,4
@@
+#ifndef NO_THREADS
/* worker thread pool based on POSIX threads
* author: John Tsiombikas <nuclear@member.fsf.org>
* This code is public domain.
@@
-311,3
+312,5
@@
int tpool_num_processors(void)
return info.dwNumberOfProcessors;
#endif
}
+
+#endif /* !def NO_THREADS */