Commit Graph
6555 Commits
Author SHA1 Message Date
Brian Wellington bf7c02293f use DESTROYLOCK() 2000-08-30 01:35:42 +00:00
Brian Wellington 743add946b Comment out calls to flockfile() and funlockfile(), since it's not
evident that they're needed, and they don't work on all platforms without
threads.
2000-08-30 01:28:10 +00:00
Brian Wellington 5ae91ef876 #include <stddef.h> 2000-08-30 01:24:20 +00:00
Brian Wellington 5aa95f94c9 don't need <pthread.h> or <isc/platform.h> 2000-08-30 01:11:37 +00:00
Brian Wellington ae8b7e02a8 Non threaded isc_app_* - basically an event loop that calls into the
task, timer, and socket modules.
2000-08-30 00:58:28 +00:00
Brian Wellington e489c8c653 added non-threaded libisc private header files 2000-08-30 00:09:34 +00:00
Brian Wellington efafe4fa7f Non-threaded socket manager. 2000-08-29 23:58:17 +00:00
Brian Wellington 8dd5562555 #include <isc/platform.h> 2000-08-29 22:55:57 +00:00
Brian Wellington 0c4887513b add copyright 2000-08-29 22:53:59 +00:00
Brian Wellington 3be0a4382d ALlow the task manager to run without threads. This doesn't handle fairness
too well.
2000-08-29 22:30:14 +00:00
Andreas Gustafsson 335a459989 stub zones are implemented 2000-08-29 21:50:45 +00:00
Brian Wellington 8ec174ad4e Allow the timer code to run without threads. 2000-08-29 21:30:03 +00:00
Brian Wellington 352cb92ac2 DNS_KEYALG_MD5RSA -> DNS_KEYALG_RSAMD5 2000-08-29 19:45:33 +00:00
Brian Wellington 5e872705df condition.c needs to be added 2000-08-29 19:22:34 +00:00
Andreas Gustafsson e389838d7a isc_buffer_used() does *not* return the beginning of the used
region - it returns the *end*
2000-08-29 19:07:11 +00:00
Brian Wellington 65e218048d When --disable-threads is passed, use "nothreads" instead of "pthreads" in
the build process
2000-08-29 18:25:08 +00:00
Brian Wellington fafb62400d When --disable-threads is passed, use "nothreads" instead of "pthreads" in
the build process.
2000-08-29 18:24:01 +00:00
Brian Wellington f05941692e Add an empty lib/isc/nothreads/condition.c, since it greatly simplifies
the build process.
2000-08-29 18:19:29 +00:00
Andreas Gustafsson 35b61b8fb1 added section on Handling of Configuration File Errors 2000-08-29 17:57:29 +00:00
Brian Wellington 51e0ad287f Hopefully make the linux-specific stuff work when threads are not used. 2000-08-29 17:54:23 +00:00
Mark Andrews 5afa531442 Alphabetize #include <dns/???>. 2000-08-29 03:48:00 +00:00
Mark Andrews f3788d318d Do not forward notifies if they fail to pass the SOA serial check. 2000-08-29 03:45:48 +00:00
Andreas Gustafsson a1884b96ef indentation 2000-08-29 00:41:18 +00:00
Brian Wellington 3c7f352550 single-threaded versions. 2000-08-29 00:33:36 +00:00
Brian Wellington 9ce781741a don't use DESTROYLOCK, since isc_mutexblock_destroy actually returns
failure if isc_mutex_destroy fails.
2000-08-29 00:25:23 +00:00
Andreas Gustafsson 9ce476812c fix threads-disabling features that were accidentally checked in with
the previous change
2000-08-29 00:16:24 +00:00
Andreas Gustafsson 9ceaa92a8c --enable-threads default value should not override user-specified value 2000-08-29 00:11:15 +00:00
Andreas Gustafsson 892abf3178 added configure option --enable-threads/--disable-threads,
define ISC_PLATFORM_USETHREADS
2000-08-28 23:51:21 +00:00
Brian Wellington 1393f0a8cb Selective forwarding is done. 2000-08-28 23:44:12 +00:00
Brian Wellington bc40028504 Added the "nothreads" directory in lib/isc. These will be used in the
non-threaded libisc.
2000-08-28 23:16:50 +00:00
Brian Wellington 698de4d4c0 The alphabetically sorted DSTOBJS weren't. 2000-08-28 23:04:51 +00:00
Brian Wellington 9e21cef0b2 The alphabetically sorted OBJS and SRCS weren't. 2000-08-28 22:54:39 +00:00
Andreas Gustafsson 294ec63685 reprioritized; added mising work item:
Eliminate use of condition variables from libomapi so that it can be
built without threads.
2000-08-28 21:37:47 +00:00
Brian Wellington 367ac5bfc5 The named.run files were not being ignored. 2000-08-28 21:23:32 +00:00
Brian Wellington 762b1edceb DESTROYLOCK does not need a do { } while (0) construct. 2000-08-28 19:49:38 +00:00
Brian Wellington 37a8fbab3a 411. [bug] A typo in the HS A code caused an assertion failure. 2000-08-28 17:39:21 +00:00
Mark Andrews 42aea0fbdc options { notify-forward yes; }; is not longer hardwired as "no;". 2000-08-28 05:51:16 +00:00
Mark Andrews 6f4b088695 Unbalanced lock/unlock. 2000-08-28 05:06:18 +00:00
Michael Graff 1865d559b0 Fix the database error, I think... Need to look at this better. 2000-08-26 23:22:36 +00:00
Michael Graff 306a935305 add find->result_v[46] 2000-08-26 02:21:45 +00:00
Brian Wellington c383551293 #include <isc/mutex.h> 2000-08-26 01:56:46 +00:00
Brian Wellington 6f710fce2d #include <time.h> 2000-08-26 01:51:37 +00:00
Andreas Gustafsson a38f86ea5b 410. [bug] lwres_gethostbyname() and company set lwres_h_errno
to a random value on success.
2000-08-26 01:51:05 +00:00
Andreas Gustafsson 7d8d82cee0 409. [bug] If named was shut down early in the startup
process, ns_omapi_shutdown() would attempt to lock
                        an unintialized mutex. [RT #262]
2000-08-26 01:46:42 +00:00
Brian Wellington fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
Brian Wellington 5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00
Brian Wellington a44038277a MOre calls to DESTROYLOCK 2000-08-26 01:31:56 +00:00
Brian Wellington 6714319d0f Add a DESTROYLOCK macro to wrap isc_mutex_destroy() 2000-08-26 01:23:17 +00:00
Brian Wellington bba01d378b Since the result of isc_mutex_destroy() is being ignored, cast it to void. 2000-08-26 01:10:54 +00:00
Brian Wellington 569c05295c removed a chunk of dead debugging code. 2000-08-25 22:07:52 +00:00