diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-11 08:30:15 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-11 08:30:15 +0000 |
commit | e22bdc0f9572b6a1a2304799d481b25b3e962f87 (patch) | |
tree | f25fbce46285d0d1b4081daaa632a6f24399b857 /sca-cpp/trunk/kernel/parallel.hpp | |
parent | 030239cff2f98c0e7b2a66e1930008eed418e07d (diff) |
Improvements to autoconf build to make support for python, web service etc and relevant test cases optional and generate ac_defines used in ifdefs to check for debug and multithreading. Moved some optional code and test cases around to run them only when the tested features are built.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/kernel/parallel.hpp')
-rw-r--r-- | sca-cpp/trunk/kernel/parallel.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/kernel/parallel.hpp b/sca-cpp/trunk/kernel/parallel.hpp index 30697004f2..9fb6c59ba7 100644 --- a/sca-cpp/trunk/kernel/parallel.hpp +++ b/sca-cpp/trunk/kernel/parallel.hpp @@ -26,7 +26,7 @@ * Simple parallel work execution functions. */ -#ifdef _REENTRANT +#ifdef WANT_THREADS #include <pthread.h> #include <sys/syscall.h> #include <unistd.h> @@ -37,7 +37,7 @@ namespace tuscany { -#ifdef _REENTRANT +#ifdef WANT_THREADS /** * Returns the current thread id. |