Finally resolves all of the issues needed to make a workable release. If all goes well, this pull will be propogated to the master branch later and take place as the stable version of lag. Over the previous stable version of lag, the following are the major improvements:
Reduced memory fragmentation with jemalloc.
A threading system that uses propper, safer constructs to control thread synchronisation, as well as potentially squeezing a bit more performance out of the threads that existed in the first place.
Finally resolves all of the issues needed to make a workable release. If all goes well, this pull will be propogated to the master branch later and take place as the stable version of lag. Over the previous stable version of lag, the following are the major improvements: