This padding in general is necessary to force the lase value to appear always at the same offset from the beginning of the page, so that all threads can agree on where the CAS game should be played. For single producer queues this is not necessary, so the page-switch may be simplified.
This padding in general is necessary to force the lase value to appear always at the same offset from the beginning of the page, so that all threads can agree on where the CAS game should be played. For single producer queues this is not necessary, so the page-switch may be simplified.