mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Implement --disable-threads
svn:r4187
This commit is contained in:
+2
-2
@@ -211,10 +211,10 @@ char *get_user_homedir(const char *username);
|
||||
int spawn_func(int (*func)(void *), void *data);
|
||||
void spawn_exit(void);
|
||||
|
||||
#if defined(MS_WINDOWS)
|
||||
#if defined(ENABLE_THREADS) && defined(MS_WINDOWS)
|
||||
#define USE_WIN32_THREADS
|
||||
#define TOR_IS_MULTITHREADED 1
|
||||
#elif defined(HAVE_PTHREAD_H) && defined(HAVE_PTHREAD_CREATE)
|
||||
#elif defined(ENABLE_THREADS) && defined(HAVE_PTHREAD_H) && defined(HAVE_PTHREAD_CREATE)
|
||||
#define USE_PTHREADS
|
||||
#define TOR_IS_MULTITHREADED 1
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user