Witold Kręcicki
02bbf1e2b9
Add --enable-pthread-rwlock option
2019-05-30 16:10:16 +02:00
Ondřej Surý
4501f646ee
Implement isc_rwlock_downgrade using pthreads and single atomic_bool
2019-05-30 16:10:16 +02:00
Ondřej Surý
64fbffbbaa
Use simple pthread_rwlock in place of our custom adaptive rwlock
2019-05-30 16:10:16 +02:00
Mark Andrews
f546769b8b
arm: just use the compiler's default yield support
2019-05-12 21:39:43 -04:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Mark Andrews
2be55f5c05
use smt_pause instead of pause on sparc
2019-01-15 20:29:27 -05:00
Ondřej Surý
e2cdf066ea
Remove message catalogs
2019-01-09 23:44:26 +01:00
Michał Kępień
62ca7743ae
Fix compilation on CentOS 6 (i386)
...
The stock toolchain available on CentOS 6 for i386 is unable to use the
_mm_pause() intrinsic. Fix by using "rep; nop" assembly instructions on
that platform instead.
2018-11-26 10:57:14 +01:00
Witold Kręcicki
929ea7c2c4
- Make isc_mutex_destroy return void
...
- Make isc_mutexblock_init/destroy return void
- Minor cleanups
2018-11-22 11:52:08 +00:00
Ondřej Surý
2f3eee5a4f
isc_mutex_init returns 'void'
2018-11-22 11:51:49 +00:00
Ondřej Surý
73a8999d1c
isc_condition_init returns 'void'
2018-11-22 11:51:49 +00:00
Ondřej Surý
4b47958163
Fix typo in isc_rwlock_pause() on sparc
2018-10-23 09:29:03 +02:00
Ondřej Surý
22e5231f99
Remove ISC_PLATFORM_BUSYWAITNOP in favour of direct isc_rwlock_pause() define
2018-09-07 12:17:29 +02:00
Ondřej Surý
9d5df99a9d
Directly use return value of atomic_compare_exchange_strong_explicit insteaf of comparing expected value
2018-08-28 12:15:39 +02:00
Ondřej Surý
b5709e5531
Explicitly load atomic values in lib/isc/rwlock.c
2018-08-28 12:15:39 +02:00
Ondřej Surý
e9e55cbd03
Remove isc_atomic usage from rwlock.c and stats.c
2018-08-28 12:15:39 +02:00
Witold Kręcicki
5cdb38c2c7
Remove unthreaded support
2018-08-16 17:18:52 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mukund Sivaraman
fb9712f639
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
2017-09-22 15:14:04 +05:30
Mark Andrews
f8c82bbf39
#include <stdint.h>
2017-09-21 14:18:59 +10:00
Mark Andrews
e8703033c5
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:41:22 +10:00
Mukund Sivaraman
404c9b1c53
Use C11's stdatomic.h instead of isc_atomic where available
2017-09-19 15:43:45 +05:30
Tinderbox User
1f6505a424
update copyright notice / whitespace
2017-04-22 23:45:41 +00:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
a63461cc4b
update copyright notice / whitespace
2016-03-23 23:45:22 +00:00
Evan Hunt
bca79675ee
[master] fix x64 NOP, silence set but not used warning
2016-03-23 12:34:56 -07:00
Evan Hunt
cf24cbd837
[master] adaptive RW locks
...
3440. [performance] Implement adaptive read-write locks, reducing the
overhead of locks that are only held briefly.
[RT #37329 ]
2016-03-22 17:59:21 -07:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Automatic Updater
c1aef54e14
update copyright notice
2011-03-12 04:59:49 +00:00
Mark Andrews
0874abad14
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:11:27 +00:00
Automatic Updater
9a14f870dd
update copyright notice
2009-01-18 23:48:14 +00:00
Francis Dupont
a05abc1767
spelling
2009-01-18 00:50:21 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
18d0b5e54b
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:00:20 +00:00
Tatuya JINMEI 神明達哉
5597be9bb8
1813. [func] Restructured the data locking framework using
...
architecture dependent atomic operations (when
available), improving response performance on
multi-processor machines significantly.
x86, x86_64, alpha, and sparc64 are currently
supported.
(RT #13505 )
2005-06-04 05:32:50 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
b7b6b01a0d
update copyright
2005-03-16 00:55:19 +00:00
Mark Andrews
7d9b632906
1828. [bug] isc_rwlock_init() failed to properly cleanup if it
...
encountered a error. [RT #13549 ]
2005-03-15 02:03:11 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
ce08911be8
typo
2003-07-23 03:18:56 +00:00
Mark Andrews
17a14e451d
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:14:18 +00:00
Mark Andrews
163547c0c0
1461. [bug] Remove deadlock from rbtdb code. [RT #5999 ]
2003-04-17 01:56:35 +00:00
David Lawrence
1bd5b8aac6
use ISC_MAGIC to define magic number
2001-04-17 14:36:45 +00:00