3 comments

[ 4.4 ms ] story [ 19.1 ms ] thread
It returns the lowest n bits of the CPU's time stamp counter. x86-64 only.
Thank you. miovid/miolini, you need to say that in the documentation. Probably even spell out some of the implications. There may be times when this is useful, but people need to go in with open eyes about what they're getting.
I've used it for multithread lock-free queues. It's working well for my case.