bind9/lib/isc/include/isc
Ondřej Surý 6bd025942c Replace netievent lock-free queue with simple locked queue
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.

Replace the current implementation of the isc_queue with a simple locked
ISC_LIST.  There's a slight improvement - since copying the whole list
is very lightweight - we move the queue into a new list before we start
the processing and locking just for moving the queue and not for every
single item on the list.

NOTE: There's a room for future improvements - since we don't guarantee
the order in which the netievents are processed, we could have two lists
- one unlocked that would be used when scheduling the work from the
matching thread and one locked that would be used from non-matching
thread.
2022-03-04 13:49:51 +01:00
..
aes.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
align.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
app.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
assertions.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
astack.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
atomic.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
attributes.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
backtrace.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
barrier.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
base32.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
base64.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bind9.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
buffer.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
cmocka.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
commandline.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
condition.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
counter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
crc64.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
deprecated.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dir.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
endian.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
errno.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
error.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
event.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
eventclass.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
file.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
formatcheck.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
fsaccess.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
fuzz.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
glob.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
hash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
heap.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
hex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
hmac.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ht.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
httpd.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
interfaceiter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
iterated_hash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lang.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
list.h Replace netievent lock-free queue with simple locked queue 2022-03-04 13:49:51 +01:00
log.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
magic.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
managers.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
md.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mem.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
meminfo.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mutex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mutexblock.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
net.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
netaddr.h update dlz_minimal.h 2022-01-27 15:48:50 -08:00
netdb.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
netmgr.h Remove the keep-response-order ACL map 2022-02-18 09:16:03 +01:00
netscope.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nonce.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
offset.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
once.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
os.h Use detected cache line size 2022-01-27 13:02:23 +01:00
parseint.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
pool.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
portset.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
print.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
quota.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
radix.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
random.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ratelimiter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
refcount.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
regex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
region.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
resource.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
result.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rwlock.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
safe.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
serial.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
siphash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sockaddr.h update dlz_minimal.h 2022-01-27 15:48:50 -08:00
stat.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdatomic.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdio.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdtime.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
strerr.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
string.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
symtab.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
syslog.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
task.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
taskpool.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
thread.h Remove unused functions from isc_thread API 2022-02-09 17:22:06 +01:00
time.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
timer.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tls.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tm.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
types.h Replace netievent lock-free queue with simple locked queue 2022-03-04 13:49:51 +01:00
url.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
utf8.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00