Commit graph

10345 commits

Author SHA1 Message Date
Bob Halley
50f3977f4f nits 1998-12-18 02:28:27 +00:00
Bob Halley
8e93971d17 initialize all common event fields 1998-12-18 02:28:12 +00:00
Michael Graff
93e065e7a6 snapshot 1998-12-18 01:48:43 +00:00
Bob Halley
0ab04d76c8 conforming changes for task API revision 1998-12-16 02:05:38 +00:00
Bob Halley
835e240716 The lock must be held when calling SIGNAL 1998-12-16 02:04:43 +00:00
Bob Halley
131b0092c6 Improvements to the task shutdown process:
A shutdown event specification is no longer part of the
	isc_task_create() API.

	Multiple shutdown events can be requested with isc_task_onshutdown().
	Shutdown events are posted LIFO.

	The ability to send events can be enabled and disabled with
	isc_task_allowsend().

	Event actions return void; the only way to shutdown a task is to
	call isc_task_shutdown().

	There are no implicit event discards anymore.  (There is no need for
	them, since event actions cannot request immediate shutdown anymore.)
1998-12-16 02:02:10 +00:00
Bob Halley
8cfc44208a minor shutdown message improvement 1998-12-16 01:56:36 +00:00
Bob Halley
3ee2a218d7 add ISC_R_TASKNOSEND and ISC_R_TASKSHUTTINGDOWN 1998-12-16 01:55:53 +00:00
Bob Halley
fcedc0b54b cleanups; switch to dns_ types 1998-12-16 01:53:36 +00:00
Bob Halley
a7b6f58693 put bitlabels back 1998-12-16 01:52:41 +00:00
Bob Halley
28767ac23c cleanups; new rdata types 1998-12-16 01:51:31 +00:00
Bob Halley
c71f625e24 add DNS_R_UNKNOWN 1998-12-16 01:50:35 +00:00
Bob Halley
8952830c4a add rdata.h rdataclass.h rdatatype.h 1998-12-16 01:49:58 +00:00
Bob Halley
c6dcc4cc98 add 1998-12-16 01:48:44 +00:00
Bob Halley
3740b569ae the great type change 1998-12-13 23:45:21 +00:00
Bob Halley
1cef22510e convert to util.h; add magic 1998-12-13 02:04:56 +00:00
Bob Halley
a3002fd5a2 convert to util.h 1998-12-13 02:04:22 +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
00abfda448 convert to util.h; set magic only on success 1998-12-13 02:01:01 +00:00
Bob Halley
7a208a07a1 add 1998-12-13 02:00:01 +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
f41f183f62 fix srcdir problems 1998-12-12 02:00:01 +00:00
Bob Halley
d0ad004424 simplify Makefiles 1998-12-12 01:35:38 +00:00
Bob Halley
863beba874 add .cvsignore files 1998-12-11 21:09:59 +00:00
Bob Halley
4504e5cc6e conforming changes 1998-12-11 20:47:40 +00:00
Bob Halley
2983bfafb7 get rid of rcsid 1998-12-11 20:47:28 +00:00
Bob Halley
8f8c3d34dd casts to eliminate sendto and memcpy warnings 1998-12-11 20:47:15 +00:00
Bob Halley
6792dd6d22 conforming changes for new pool 1998-12-11 20:38:46 +00:00
Bob Halley
2785477bd3 add version stamp 1998-12-11 20:26:40 +00:00
Bob Halley
a5d43b7241 BIND9 Pool Creation 1998-12-11 20:10:26 +00:00
Michael Graff
0c7244d352 added marks, and cleaned up from the review from Bob. Still more to do, but
this catches most of it.
1998-12-10 16:14:05 +00:00
Bob Halley
6476e07e0a fix blocking fd problem; fix unlock problem; other minor fixes 1998-12-05 01:44:38 +00:00
Bob Halley
577179503f move get_bit and set_bit; indicate where to convert from ASCII 1998-12-05 01:42:30 +00:00
Michael Graff
7251d77646 snapshot 1998-12-05 00:28:13 +00:00
Bob Halley
da4242bf62 replace unexpect.[ch] and fatal.[ch] with error.[ch] 1998-12-04 20:00:26 +00:00
Michael Graff
c2be3539e9 snapshot 1998-12-04 11:21:11 +00:00
Bob Halley
0ce364191e add missing includes 1998-12-04 03:30:23 +00:00
Bob Halley
c50fd34a4e add 1998-12-04 02:27:01 +00:00
Michael Graff
a0084eaa9f checkpoint 1998-12-01 23:59:39 +00:00
Michael Graff
e75eee3206 snapshot 1998-12-01 21:39:00 +00:00
Michael Graff
9de9ae0839 cleanup header file to list actual return codes, new entry conditions, etc 1998-12-01 17:58:34 +00:00
Michael Graff
97ed1e3750 clean up reference counts 1998-11-26 00:29:12 +00:00
Michael Graff
a21e2e7fea connect works; snapshot 1998-11-26 00:10:33 +00:00
Bob Halley
9df01daac3 update 1998-11-16 23:50:01 +00:00
Bob Halley
6a632f6968 add ISC_R_EXISTS 1998-11-16 23:49:08 +00:00
Bob Halley
3a6c3beafc update 1998-11-16 23:17:42 +00:00
Michael Graff
4095b36415 try to get the address put into the returned structure, but no go yet 1998-11-15 11:48:21 +00:00
Bob Halley
7861b13341 add comment 1998-11-14 02:51:26 +00:00
Bob Halley
5bef099303 include attribute.h 1998-11-14 02:49:29 +00:00
Bob Halley
e60efa407d change FIND to SEARCH 1998-11-14 02:41:06 +00:00
Bob Halley
18e5d28c86 add 1998-11-14 02:35:03 +00:00
Bob Halley
26ebe15d05 add magic 1998-11-12 23:30:58 +00:00
Bob Halley
4bba0ce1d3 clean up debugging, add magic 1998-11-12 23:30:46 +00:00
Bob Halley
994ba9c913 add write quota 1998-11-12 22:27:30 +00:00
Bob Halley
c8e7460242 add 1998-11-12 02:02:52 +00:00
Bob Halley
f671a5c51c add isc_mutex_trylock() 1998-11-11 19:03:08 +00:00
Bob Halley
903c1c35fc add ISC_R_LOCKBUSY 1998-11-11 19:02:52 +00:00
Bob Halley
b10b0bdf3f assume multithreaded unless ISC_SINGLETHREADED is defined 1998-11-11 19:02:24 +00:00
Michael Graff
8219cec0de fix queued write bug, and result status bug for immediate I/O 1998-11-11 02:05:36 +00:00
Michael Graff
28866ad778 handle manager->maxfd somewhat well -- it'll grow, but never shrink, yet. 1998-11-11 01:44:08 +00:00
Michael Graff
3d8e572880 writing works now, too. 1998-11-11 00:43:14 +00:00
Michael Graff
59b2e9c361 add ISC_R_TASKSHUTDOWN and use it in isc_task_send() 1998-11-10 20:57:32 +00:00
Michael Graff
a609982aa7 Small change to the isc_task_send() function: return ISC_R_SUCCESS if the
event was queued, return ISC_R_NORESOURCES if not.  The error return
needs to be something different.
1998-11-10 11:39:13 +00:00
Michael Graff
8871894f2d checkpoint. listen and read works, now. 1998-11-10 11:37:54 +00:00
Michael Graff
bb039bc91e snapshot 1998-11-10 01:56:44 +00:00
Michael Graff
91c21a94b8 checkpoint 1998-11-07 02:31:04 +00:00
Michael Graff
7f9e707684 checkpoint 1998-11-06 01:45:35 +00:00
Michael Graff
1edb223dd3 return the number of items purged 1998-11-06 01:44:44 +00:00
Michael Graff
f02c1d9431 define more return codes 1998-11-06 01:44:19 +00:00
Bob Halley
5741be0b80 add event destructor 1998-11-03 19:05:12 +00:00
Michael Graff
6d05b41aae Commit socket code so far -- nowhere near done, but I don't wanna loose work. 1998-11-03 00:54:47 +00:00
Michael Graff
35921f41cf Add ISC_R_NORESOURCES, and redo where and how the last entry is set 1998-11-03 00:53:42 +00:00
Bob Halley
7b5e3afd21 buffer.c 1998-10-29 02:01:29 +00:00
Bob Halley
928da6e9e3 add 1998-10-29 02:01:20 +00:00
Bob Halley
b32248301c the event action is now responsible for freeing the event memory 1998-10-28 01:45:43 +00:00
Bob Halley
b592e197fe update 1998-10-27 03:12:07 +00:00
Bob Halley
a2a072eb23 use proper isc result type 1998-10-26 23:08:23 +00:00
Bob Halley
4d6964d70a checkpoint 1998-10-26 23:07:57 +00:00
Bob Halley
3cddfdd299 add new results 1998-10-26 23:07:15 +00:00
Bob Halley
ab774d16c4 get rid of now-unneeded time.h 1998-10-24 01:06:59 +00:00
Bob Halley
d3239a41d1 eliminate detach 1998-10-23 23:51:09 +00:00
Bob Halley
7c93964aaf use isc_thread_join() to wait for workers to exit 1998-10-23 23:50:15 +00:00
Bob Halley
b07a162e29 type changes for _beginthreadex 1998-10-23 23:02:01 +00:00
Bob Halley
4bed2e84a3 opaque isc_time_t; add isc_interval_t; UNIX-specific conversions 1998-10-23 23:01:41 +00:00
Bob Halley
49bcef9c9c opaque isc_time_t 1998-10-23 23:01:12 +00:00
Bob Halley
db1e643c60 isc_interval_t conversion 1998-10-23 23:00:40 +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
3ce87f4ed9 conditional WINAPI for run() 1998-10-23 22:59:02 +00:00
Bob Halley
1eda5e1a7c switch to _beginthreadex; close thread handle after join 1998-10-23 18:24:18 +00:00
Bob Halley
ce1e4ac907 clean up; add warnings about use of signal and broadcast 1998-10-23 18:22:22 +00:00
Bob Halley
9fbefe0ace convert back to UNIX text format 1998-10-23 06:02:07 +00:00
Bob Halley
0fc87fa2f3 add 1998-10-23 05:45:44 +00:00
Bob Halley
6052dab738 update 1998-10-23 05:45:26 +00:00
Bob Halley
06bb37d18e need string.h to get memcpy prototype 1998-10-23 05:44:59 +00:00
Bob Halley
42e562f5e3 revise join; add arg and result types 1998-10-23 05:44:27 +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
8b935d4a13 add 1998-10-21 01:08:12 +00:00
Bob Halley
0c7c25a1c6 checkpoint 1998-10-20 00:52:19 +00:00
Bob Halley
b07f8da9cd eliminate timer_shutdown; add purging option to timer_reset 1998-10-16 23:57:51 +00:00
Bob Halley
258c9ab88d had it right the first time 1998-10-16 22:21:21 +00:00
Bob Halley
21eb2ca7bc more complete fix for typo 1998-10-16 22:15:23 +00:00
Bob Halley
1b36197e73 fix typo 1998-10-16 22:14:47 +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
Bob Halley
c09dae9683 clean up tracing 1998-10-16 21:53:23 +00:00
Bob Halley
918bae0f4b update 1998-10-16 21:41:30 +00:00
Bob Halley
a75f433c83 udpate 1998-10-16 20:20:31 +00:00
Bob Halley
225c880310 checkpoint (working) 1998-10-16 19:56:56 +00:00
Bob Halley
5291519dba checkpoint 1998-10-16 18:46:38 +00:00
Bob Halley
38b612afe1 checkpoint 1998-10-16 07:44:20 +00:00
Bob Halley
82ebb6cf50 update 1998-10-16 01:54:25 +00:00
Bob Halley
b0f24684b3 checkpoint 1998-10-16 01:54:04 +00:00
Bob Halley
2985234619 checkpoint 1998-10-16 01:18:31 +00:00
Bob Halley
00c6365ade checkpoint 1998-10-15 23:51:14 +00:00
Bob Halley
7bae6a079b add 1998-10-15 23:42:56 +00:00
Bob Halley
4c7d0f3c38 add 1998-10-15 22:22:50 +00:00
Bob Halley
94e25967cd add 1998-10-15 01:20:28 +00:00
Bob Halley
fda0ab6a96 add result 1998-10-14 22:35:04 +00:00
Bob Halley
18cc70d001 move some includes from task.h to task.c 1998-10-14 18:56:13 +00:00
Bob Halley
c1735aa89b cleanup 1998-10-14 01:41:55 +00:00
Bob Halley
232548d5d7 add event purging 1998-10-13 20:22:22 +00:00
Bob Halley
8f9001ec65 remove one more remnant 1998-09-16 21:41:10 +00:00
Bob Halley
b3b43bcc22 remove range code; implement mem_context_destroy more completely 1998-09-16 21:38:08 +00:00
Bob Halley
f15356f883 remove now-useless remnant of an earlier revision 1998-09-16 21:35:32 +00:00
Bob Halley
2acf552661 update 1998-08-20 22:21:35 +00:00
Bob Halley
d740c17c9c cleanups 1998-08-20 20:48:09 +00:00
Bob Halley
26d7020e2e update 1998-08-19 23:36:12 +00:00
Bob Halley
94123b5120 checkpoint 1998-08-19 21:46:15 +00:00
Bob Halley
dcd83f0e1c update 1998-08-19 01:38:06 +00:00
Bob Halley
50f339a799 update 1998-08-18 19:28:30 +00:00
Bob Halley
d6da3b9e10 update 1998-08-18 08:05:45 +00:00
Bob Halley
e7b7e6e746 checkpoint 1998-08-18 00:47:55 +00:00
Bob Halley
9a4ce0c258 add 1998-08-18 00:37:02 +00:00
Bob Halley
138d22b316 update 1998-08-18 00:34:54 +00:00
Bob Halley
0dbe3d9c27 checkpoint 1998-08-18 00:29:57 +00:00
Bob Halley
3a6202f163 checkpoint 1998-08-17 23:15:50 +00:00
Bob Halley
7ee52cc7d1 base 1998-08-17 22:05:58 +00:00