stud icon indicating copy to clipboard operation
stud copied to clipboard

cache: use optimized futexes on i386 and amd64 arch only

Open vincentbernat opened this issue 13 years ago • 2 comments

Optimized futexes are only available on i386 and amd64 since they use inline assembly. It is difficult to come with a generic way to tell which arch we are using from the Makefile and therefore, additional checks are put in the preprocessor before using those futexes.

vincentbernat avatar Jun 24 '12 10:06 vincentbernat

Besides this, I was thinking about switching to autotools stuff. Is it something that you would agree with? This would make easier for the user to compile with the right options, this will also make easier to handle cases like this one.

vincentbernat avatar Jun 24 '12 11:06 vincentbernat

Hi vincent, please check #109, it supports gcc atomic sync built-ins for other archs.

EmericBr avatar Aug 24 '12 16:08 EmericBr