bind9/lib/isc/include/isc
Ondřej Surý 5bac885ace
Use release memory ordering when incrementing reference counter
As the relaxed memory ordering doesn't ensure any memory
synchronization, it is possible that the increment will succeed even
in the case when it should not - there is a race between
atomic_fetch_sub(..., acq_rel) and atomic_fetch_add(..., relaxed).
Only the result is consistent, but the previous value for both calls
could be same when both calls are executed at the same time.

(cherry picked from commit 88227ea665)
2024-10-02 09:09:03 +02: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 Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
astack.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
atomic.h Workaround faulty stdatomic.h header detection on Oracle Linux 7 2023-08-22 14:23:05 +02:00
attributes.h Define ISC_ATTR_UNUSED macro for __attribute__((__unused__)) 2024-08-27 04:49:55 +02:00
backtrace.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
barrier.h Prefer the pthread_barrier implementation over uv_barrier 2023-01-11 10:21:39 +00: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
buffer.h change ISC__BUFFER macros to inline functions 2022-09-27 00:45:28 -07: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 De-duplicate some calls to strerror_r() 2022-10-17 16:00:27 +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 clang to version 14 2022-06-16 18:09:33 +02:00
endian.h Update the source code formatting using clang-format-17 2023-10-18 09:02:57 +02:00
errno.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
error.h Include the function name when reporting unexpected errors 2022-10-17 16:00:27 +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
fuzz.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
glob.h Update clang to version 14 2022-06-16 18:09:33 +02:00
hash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
heap.h Make isc_heap_create() and isc_heap_insert() return void 2022-03-08 20:24:54 +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 Implement incremental hash table resizing in isc_ht 2023-01-11 17:15:33 +01:00
httpd.h Rewrite isc_httpd using picohttpparser and isc_url_parse 2022-10-20 16:10:21 +02: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 clang to version 14 2022-06-16 18:09:33 +02:00
list.h Clang-format header file changes 2024-05-17 16:21:35 -07:00
log.h Update clang to version 14 2022-06-16 18:09:33 +02: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 Forward declare mallocx in isc/mem.h 2024-01-18 10:40:46 +01:00
meminfo.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mutex.h De-duplicate some calls to strerror_r() 2022-10-17 16:00:27 +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 code formatting 2024-09-21 07:20:11 +00:00
netaddr.h update dlz_minimal.h 2022-01-27 16:18:34 -08:00
netdb.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
netmgr.h Split fast and slow task queues 2024-02-01 21:47:29 +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 Add isc_os_umask() function to get current umask 2023-03-31 16:47:15 +02: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 clang to version 14 2022-06-16 18:09:33 +02:00
radix.h Update the source code formatting using clang-format-17 2023-10-18 09:02:57 +02: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 Use release memory ordering when incrementing reference counter 2024-10-02 09:09:03 +02:00
regex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
region.h Update clang to version 14 2022-06-16 18:09:33 +02:00
resource.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
result.h Limit isccc_cc_fromwire recursion depth 2023-09-07 19:50:27 +02: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 Add helper function isc_sockaddr_disabled 2024-06-03 13:52:37 +00:00
stat.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.h Expose the TCP client count in statistics channel 2024-02-27 11:04:28 +03:00
stdatomic.h Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +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 Use strnstr implementation from FreeBSD if not provided by OS 2022-10-04 15:33:33 +11:00
symtab.h Update clang to version 14 2022-06-16 18:09:33 +02:00
syslog.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
task.h Add isc_task_setquantum() and use it for post-init zone loading 2023-01-18 18:04:41 +01:00
taskpool.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
thread.h Use clang-format-19 to update formatting 2024-08-22 10:25:22 +02:00
time.h Change the NS_PER_SEC (and friends) from enum to static const 2024-08-19 15:32:03 +00:00
timer.h Expose internal timer_purge() as isc_timer_purge() 2024-05-17 10:49:57 +00:00
tls.h tlsctx_client_session_cache_new() -> tlsctx_client_session_create() 2022-12-23 13:58:14 +02:00
tm.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
types.h Use <isc/atomic.h> instead of <stdatomic.h> directly in <isc/types.h> 2024-01-03 20:36:35 +03:00
url.h Rewrite isc_httpd using picohttpparser and isc_url_parse 2022-10-20 16:10:21 +02:00
utf8.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.h Update sources to Clang 18 formatting 2024-04-23 12:48:56 +00:00