Monday, September 23, 2019

Digest for comp.lang.c++@googlegroups.com - 21 updates in 5 topics

Bonita Montero <Bonita.Montero@gmail.com>: Sep 23 09:08AM +0200

I was researching a bit to get a contention-free LRU-list that scales
lineary with the number of processors. My work is finished now and I
have the nearly perfect solulion for this issue.
But after that I thought what the costs of cachline-swapping between
cores might be, so I wrote a little program:
 
#if defined(_MSC_VER)
#include <Windows.h>
#elif defined(__unix__)
#include <sys/sysinfo.h>
#include <sched.h>
#include <pthread.h>

No comments: