* Foundation for multi-threaded support.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1111 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2009-12-12 15:32:04 +00:00
parent d71e0ccf9a
commit ef6e4deca9
12 changed files with 254 additions and 123 deletions
+2 -1
View File
@@ -54,6 +54,7 @@ extern rak::timer cachedTime;
extern Control* control;
// extern __thread ThreadBase* this_thread; // Only use for worker threads for now.
extern ThreadBase* this_thread; // Only use for main threads for now.
extern ThreadBase* this_thread;
extern ThreadBase* worker_thread;
#endif