Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +00:00
Brian Wellington
0d89afffb2
Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such.
2000-09-28 21:31:08 +00:00
Brian Wellington
8ec174ad4e
Allow the timer code to run without threads.
2000-08-29 21:30:03 +00:00
Brian Wellington
fa9a407180
Last set of DESTROYLOCK changes
2000-08-26 01:42:34 +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
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
Michael Graff
fbcba391fa
fix format argument
2000-06-19 22:23:05 +00:00
David Lawrence
87cafc5e70
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.
Also cleaned up a few places where variable names clashed with reserved
identifiers. (Which mostly works fine, but strictly speaking is undefined
by the standard.)
Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson
e996ff2d5b
print isc_time_t fields using %u, not %lu
2000-05-22 03:07:47 +00:00
David Lawrence
60e412971e
isc_time_add now returns an isc_result_t, ensuring proper range of the
...
result of the addition.
2000-05-18 17:15:11 +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
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
fc9e755ba3
<isc/task.h> does not need <isc/mem.h> or <isc/result.h>.
2000-04-28 04:26:08 +00:00
David Lawrence
c23f524c07
include isc/task.h
2000-04-25 19:32:29 +00:00
Bob Halley
f6c77dd407
Use memory context reference counting.
...
Timers now use the timer manager's mctx, not the task's.
2000-04-12 01:27:20 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
Bob Halley
67e33ba670
we were purging the wrong event ranges
1999-07-21 21:18:10 +00:00
Bob Halley
9db3eaed95
the event tag is now a void *
1999-07-10 00:55:07 +00:00
Bob Halley
94a5826150
do not get the current time for an inactive timer
1999-07-03 21:00:55 +00:00
Bob Halley
d717d5600b
event purging api change
1999-06-15 23:18:44 +00:00
Bob Halley
0f287538a5
use isc_time_now; allow default expires and interval
1999-06-12 01:13:22 +00:00
Bob Halley
d13284da19
allow timer to be inactive; use isc_task_purgerange
1999-05-10 22:50:31 +00:00
Bob Halley
1edf93cbc2
a timer now uses the mctx of its task
1999-01-16 00:01:18 +00:00
Bob Halley
eb5ae81b55
note
1999-01-15 02:14:55 +00:00
Bob Halley
2328307a8f
use RUNTIME_CHECK instead of INSIST where appropriate
1999-01-06 20:02:52 +00:00
Bob Halley
8dcce6f922
change memctx to mem
1998-12-18 19:14:37 +00:00
Bob Halley
835e240716
The lock must be held when calling SIGNAL
1998-12-16 02:04:43 +00:00
Bob Halley
3740b569ae
the great type change
1998-12-13 23:45:21 +00:00
Bob Halley
674dd7889b
convert to util.h; only set magic if ok; forgot detach if mutex init fails
1998-12-13 02:03:46 +00:00
Bob Halley
1633838b82
update copyrights
1998-12-12 20:48:14 +00:00
Bob Halley
d25afd60ee
include config.h
1998-12-12 19:25:20 +00:00
Bob Halley
6792dd6d22
conforming changes for new pool
1998-12-11 20:38:46 +00:00
Bob Halley
da4242bf62
replace unexpect.[ch] and fatal.[ch] with error.[ch]
1998-12-04 20:00:26 +00:00
Bob Halley
a2a072eb23
use proper isc result type
1998-10-26 23:08:23 +00:00
Bob Halley
5cc3e0c38f
opaque isc_time_t; add isc_interval_t; conditional WINAPI for run()
1998-10-23 22:59:44 +00:00
Bob Halley
6052dab738
update
1998-10-23 05:45:26 +00:00
Bob Halley
f191e3b4e8
Switch from BROADCAST to SIGNAL in many cases; hold lock while doing either.
1998-10-22 19:23:26 +00:00
Bob Halley
0bbadb0a2f
portability
1998-10-22 01:59:50 +00:00
Bob Halley
bf6d2e3912
more renaming
1998-10-22 01:33:20 +00:00
Bob Halley
de9282a1ea
rename memcluster
1998-10-21 22:01:08 +00:00
Bob Halley
c92ba07101
more renaming
1998-10-21 02:26:57 +00:00
Bob Halley
5f74ac33a0
more renaming
1998-10-21 01:57:35 +00:00
Bob Halley
35815e1e2a
more namespace cleanups
1998-10-21 01:16:18 +00:00
Bob Halley
f47bb8d1f3
many name conversions
1998-10-21 01:13:50 +00:00
Bob Halley
b07f8da9cd
eliminate timer_shutdown; add purging option to timer_reset
1998-10-16 23:57:51 +00:00
Bob Halley
a942d47f84
get rid of portability problem in condition variables
1998-10-16 22:09:09 +00:00
Bob Halley
9c018a718a
move sooner and set_index further down
1998-10-16 21:54:53 +00:00