mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
* Added autoconf support for cacheline_aligned and SMP_CACHE_BYTES.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1115 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -47,9 +47,9 @@
|
||||
|
||||
// Temporarly injected into config.h.
|
||||
/* temp hack */
|
||||
//#define __cacheline_aligned __attribute__((__aligned__(128)))
|
||||
//#define lt_cacheline_aligned __attribute__((__aligned__(128)))
|
||||
|
||||
class __cacheline_aligned thread_queue_hack {
|
||||
class lt_cacheline_aligned thread_queue_hack {
|
||||
public:
|
||||
typedef ThreadBase::thread_base_func value_type;
|
||||
typedef ThreadBase::thread_base_func* iterator;
|
||||
|
||||
Reference in New Issue
Block a user