Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Proposal to add constexpr to C [pdf]. Parent comment
MUTEX_LOCK_GUARD(&lock) for (i = 0; i < n; i++) if (a[i] == x) return i; return -1;
And the implementation: https://github.com/qemu/qemu/blob/master/include/qemu/lockab... (after inlining, the abstraction is completely zero cost).
There are no comments on this comment yet.
And the implementation: https://github.com/qemu/qemu/blob/master/include/qemu/lockab... (after inlining, the abstraction is completely zero cost).