Skip to content

Provide alternative isc_queue implementation based on locked list

Ondřej Surý requested to merge 3171-locked-isc_queue into main

The current implementation of isc_queue uses Michael-Scott lock-free queue that in turn uses hazard pointers. It was discovered that the way we use the isc_queue, such complicated mechanism isn't really needed, because most of the time, we either execute the work directly when on nmthread (in case of UDP) or schedule the work from the matching nmthreads.

Provide alternative implementation for the isc_queue based on locked ISC_LIST.

Closes #3171 (closed)

Merge request reports