Commit graph

86 commits

Author SHA1 Message Date
Tatuya JINMEI 神明達哉
c4fadc8861 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]

(I plan to merge this to 9.[345])
2008-04-04 01:49:09 +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
ed6ca94ad7 finetune isc_thread_key implementation [RT #15408] 2005-09-18 07:16:24 +00:00
Mark Andrews
6cf369f528 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:17:03 +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
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
9f069b2771 update copyright notice 2005-03-17 03:56:12 +00:00
Mark Andrews
5e5b467e8c 1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660] 2005-03-16 01:56:17 +00:00
Mark Andrews
70e854766f 1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810] 2004-12-04 06:48:43 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
3184ff5e45 1496. [port] test for pthread_attr_setstacksize(). 2003-07-25 05:08:51 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Michael Graff
8f7b56e275 add goo for error checking mutexes on (at least) tru64 2002-09-08 18:32:38 +00:00
Mark Andrews
4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Brian Wellington
47f65caf30 The msgcat text contained an extra %s. 2001-01-23 02:27:19 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson
d1dc805692 include NetBSD mutex debugging kludge only if explicitly requested
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
9afcd92352 enable deadlock detection for mutexes on NetBSD 2001-01-06 01:26:36 +00:00
Brian Wellington
6cf489f9bc Enabling mutex profiling caused compilation to fail. 2001-01-05 02:17:03 +00:00
Damien Neil
2e36a55861 Added changes for mutex profiling. 2001-01-04 23:38:37 +00:00
Damien Neil
b2a6ebf1bd Cleaned up some nasty hacks I forgot in the mutex profiling code. 2001-01-04 23:34:03 +00:00
Damien Neil
e535db4a21 Removed some very nasty hacks which I had forgotten in the mutex
profiling code.
2001-01-04 23:32:15 +00:00
Damien Neil
0195648290 Turn off mutex profiling by default. (Oops.) 2001-01-04 22:39:33 +00:00
Damien Neil
e9453d609d Mutex profiling updates, to collect more statistics on mutex usage. 2001-01-04 22:37:37 +00:00
Brian Wellington
4502c1b020 spelling 2001-01-04 00:28:19 +00:00
Brian Wellington
26d20cd51c oops, forgot to commit this yesterday. 2000-12-29 18:19:52 +00:00
Brian Wellington
3f160155da ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
with -s prints the results.
2000-12-29 01:29:56 +00:00
Brian Wellington
489b762926 - if pthreads are not found, build a nonthreaded version
- check for pthread_attr_getstacksize
2000-12-22 20:50:05 +00:00
David Lawrence
9cd6d409b7 first pass at using isc_msgcat_get for message strings in libisc 2000-12-06 00:30:32 +00:00
Andreas Gustafsson
922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Michael Graff
0eb2572d79 add isc_thread_setconcurrency() 2000-06-22 01:48:24 +00:00
David Lawrence
49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
87480bb860 Use isc_time_secondsastimet() set timespec.tv_sec (returning an
error if the seconds are out of range), and cast isc_time_nanoseconds()
to shut up the IRIX compiler.
2000-05-18 17:13:58 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
David Lawrence
9c4f33b671 131. [cleanup] <isc/mutex.h> and <isc/util.h> need <isc/result.h>
for ISC_R_* codes used in macros.
2000-04-28 19:03:50 +00:00
David Lawrence
c403d3f7d6 130. [cleanup] <isc/condition.h> does not need <pthread.h> or
<isc/boolean.h>, and now includes <isc/types.h>
                        instead of <isc/time.h>.
(does not need pthread.h because it *does* need isc/mutex.h, which
will be guaranteed to provide pthread.h)
2000-04-28 18:58:40 +00:00
David Lawrence
2d78d06402 125. [cleanup] <isc/eventclass.h>, <isc/ipv6.h>, <isc/magic.h>,
<isc/mutex.h>, <isc/once.h>, <isc/region.h>, and
                        <isc/resultclass.h> do not need <isc/lang.h>.
2000-04-28 17:19:11 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
David Lawrence
947bd6c648 <isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>. 2000-04-26 01:29:27 +00:00
Michael Graff
677976e442 Make the #define for thread stack size private by moving it to thread.c, rather than thread.h. 2000-04-19 20:48:24 +00:00
Michael Graff
63b0714574 forgot to add this, thanks Bob. :) 2000-04-19 20:34:34 +00:00
Michael Graff
2089873efa set stack size (if < 64k) when starting a thread 2000-04-19 19:23:25 +00:00
Bob Halley
a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00