boostorg / lockfree

Boost.Lockfree
125 stars 86 forks source link

[Enhancement] Allow bounded queue size to exceed 65,535 for 64bit systems #36

Open yuvalif opened 7 years ago

yuvalif commented 7 years ago

in https://github.com/boostorg/lockfree/blob/develop/include/boost/lockfree/detail/freelist.hpp lines 335 and 369, replace the numeric const with compile time const derived from 32bit vs. 64bit compilation (e.g. #if __x86_64__ || __ppc64__ )