mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
* Finished the foundation of threading.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1114 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -45,11 +45,6 @@
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
// A preliminary implementation of a global lock, to be moved
|
||||
// somewhere more appropriate when it's put to use.
|
||||
|
||||
ThreadBase::global_lock_type ThreadBase::m_global = { 0, PTHREAD_MUTEX_INITIALIZER };
|
||||
|
||||
// Temporarly injected into config.h.
|
||||
/* temp hack */
|
||||
//#define __cacheline_aligned __attribute__((__aligned__(128)))
|
||||
@@ -115,7 +110,6 @@ ThreadBase::ThreadBase() :
|
||||
}
|
||||
|
||||
ThreadBase::~ThreadBase() {
|
||||
pthread_mutex_destroy(&ThreadBase::m_global.lock);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user