cvs commit: apache-site/mirrors index.html mirrors.list
randy 97/11/03 16:56:19 Modified:mirrors index.html mirrors.list Log: Update the mirrors page. Yes, I am still alive... Revision ChangesPath 1.18 +33 -3 apache-site/mirrors/index.html Index: index.html === RCS file: /export/home/cvs/apache-site/mirrors/index.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- index.html1997/10/27 00:02:31 1.17 +++ index.html1997/11/04 00:56:18 1.18 @@ -31,8 +31,10 @@ !-- [EMAIL PROTECTED] -- A HREF=http://www.syd.dit.csiro.au/tools/apache/;au/A - !-- [EMAIL PROTECTED] -- -A HREF=http://boomer.digibel.be/mirrors/apache/;be/A - -!-- [EMAIL PROTECTED] -- +A HREF=http://apache.belnet.be/;be/A - +!-- [EMAIL PROTECTED] -- +A HREF=http://apache.digibel.be/;be/A - +!-- [EMAIL PROTECTED] -- A HREF=http://apache.nat.bg/;bg/A - !-- [EMAIL PROTECTED] -- A HREF=http://br.apache.org/;br/A - @@ -41,8 +43,12 @@ !-- [EMAIL PROTECTED] -- A HREF=http://apache.abordo.com.br/;br/A - !-- [EMAIL PROTECTED] -- +A HREF=http://micromou.point-net.com/mirror/apache/;ca/A - +!-- [EMAIL PROTECTED] -- A HREF=http://sunsite.cnlab-switch.ch/www/mirror/apache/;ch/A - !-- [EMAIL PROTECTED] -- +A HREF=http://apache.interred.net.co/;co/A - +!-- [EMAIL PROTECTED] -- A HREF=http://apache.ucr.ac.cr/;cr/A - !-- [EMAIL PROTECTED] -- A HREF=http://sunsite.mff.cuni.cz/web/apache/;cz/A - @@ -55,12 +61,16 @@ !-- [EMAIL PROTECTED] -- A HREF=http://apache.rz.fh-hannover.de/;de/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.milliways.ask.fh-furtwangen.de/apache/;de/A - +!-- [EMAIL PROTECTED] -- A HREF=http://sunsite.auc.dk/apache/;dk/A - !-- [EMAIL PROTECTED] -- A HREF=http://zone.pspt.fi/apache/;fi/A - !-- [EMAIL PROTECTED] -- A HREF=http://www.pal.xgw.fi/apache/;fi/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.zoo-gate.fi/mirrors/apache/;fi/A - +!-- [EMAIL PROTECTED] -- A HREF=http://www.ut.ee/apache/;ee/A - !-- [EMAIL PROTECTED] -- A HREF=http://www.develnet.es/apache/;es/A - @@ -71,6 +81,8 @@ !-- [EMAIL PROTECTED] -- A HREF=http://slug.ctv.es/mirror/apache_httpd/;es/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.arrakis.es/pub/apache/;es/A - +!-- [EMAIL PROTECTED] -- A HREF=http://www.cge-ol.fr/apache/;fr/A - !-- [EMAIL PROTECTED] -- A HREF=http://www.teaser.fr/apache/;fr/A - @@ -123,6 +135,8 @@ !-- [EMAIL PROTECTED] -- A HREF=http://www.cyberweb.com.my/apache/;my/A - !-- [EMAIL PROTECTED] -- +A HREF=http://itc.kusza.edu.my/apache/;my/A - +!-- [EMAIL PROTECTED] -- A HREF=http://www.mbh.org/archive/apache/;nl/A - !-- [EMAIL PROTECTED] -- A HREF=http://www.ipe.nl/apache/;nl/A - @@ -135,6 +149,8 @@ !-- [EMAIL PROTECTED] -- A HREF=http://xenium.pdi.lodz.pl/Apache/;pl/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.task.gda.pl/pub/www/apache/;pl/A - +!-- [EMAIL PROTECTED] -- A HREF=http://ftp.ua.pt/pub/infosystems/www/apache/;pt/A - !-- [EMAIL PROTECTED] -- A HREF=http://ftp.dei.uc.pt/apache/;pt/A - @@ -146,7 +162,7 @@ A HREF=http://www.module.vympel.msk.ru/mirror/apache/;ru/A - !-- [EMAIL PROTECTED] -- A HREF=http://apache.ifmo.ru/;ru/A - -!-- [EMAIL PROTECTED] -- +!-- [EMAIL PROTECTED] -- A HREF=http://www.tomcat.ru/apache/;ru/A - !-- [EMAIL PROTECTED] -- A HREF=http://apache.inf.ru/;ru/A - @@ -161,6 +177,8 @@ !-- [EMAIL PROTECTED] -- A HREF=http://sunsite.uakom.sk/apache/;sk/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.alla.sk/apache/;sk/A - +!-- [EMAIL PROTECTED] -- A HREF=http://www.sai.msu.su/apache/;su/A - !-- oleg@sai.msu.su -- A HREF=http://www-dc.riubon.ac.th/pub/apache/;th/A - @@ -179,6 +197,8 @@ !-- [EMAIL PROTECTED] -- A HREF=http://sunsite.doc.ic.ac.uk/packages/apache/;ac.uk/A - !-- [EMAIL PROTECTED] -- +A HREF=http://www.hensa.ac.uk/mirrors/apache/;ac.uk/A - +!-- [EMAIL PROTECTED] -- A HREF=http://www.ukweb.com/apache/;co.uk/A - !-- [EMAIL PROTECTED] -- A HREF=http://www2.idiscover.co.uk/apache/;co.uk/A - @@ -228,6 +248,10 @@ !-- -- A HREF=ftp://Bond.edu.au/pub/apache/dist/;au/A - !-- -- +A HREF=ftp://ftp.belnet.be/packages/apache/;be/A - +!-- -- +A HREF=ftp://ftp.ntrl.net/pub/mirror/apache/;bg/A - +!-- -- A HREF=ftp://ftp.gns.com.br/pub/unix/apache/dist/;br/A - !-- -- A HREF=ftp://ftp.abordo.com.br/pub/apache/;br/A - @@ -264,6 +288,8 @@ !-- -- A HREF=ftp://slug.ctv.es/mirror/apache_httpd/;es/A - !-- -- +A HREF=ftp://ftp.arrakis.es/pub/apache/;es/A - +!-- -- A HREF=ftp://ftp.pspt.fi/pub/unix/www/apache/;fi/A -
cvs commit: apachen/htdocs/manual/mod footer.html header.html
coar97/11/03 17:18:02 Modified:htdocs/manual footer.html header.html htdocs/manual/misc footer.html header.html htdocs/manual/mod footer.html header.html Log: Label the 1.3 documentation as being such in the header and footer. Hopefully (!) this will ease some of the confusion about 1.3 features described therein that people think apply to 1.2.. Reviewed by: Dean Gaudet Revision ChangesPath 1.3 +3 -0 apachen/htdocs/manual/footer.html Index: footer.html === RCS file: /export/home/cvs/apachen/htdocs/manual/footer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- footer.html 1996/11/21 10:47:09 1.2 +++ footer.html 1997/11/04 01:17:57 1.3 @@ -1,3 +1,6 @@ HR + H3 ALIGN=CENTER + Apache HTTP Server Version 1.3 + /H3 A HREF=./IMG SRC=images/index.gif ALT=Index/A 1.3 +3 -0 apachen/htdocs/manual/header.html Index: header.html === RCS file: /export/home/cvs/apachen/htdocs/manual/header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- header.html 1997/06/04 02:55:15 1.2 +++ header.html 1997/11/04 01:17:57 1.3 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.3 + /H3 /DIV 1.3 +4 -0 apachen/htdocs/manual/misc/footer.html Index: footer.html === RCS file: /export/home/cvs/apachen/htdocs/manual/misc/footer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- footer.html 1996/11/21 09:55:48 1.2 +++ footer.html 1997/11/04 01:17:58 1.3 @@ -1,4 +1,8 @@ HR +H3 ALIGN=CENTER + Apache HTTP Server Version 1.3 +/H3 + A HREF=./IMG SRC=../images/index.gif ALT=Index/A A HREF=../IMG SRC=../images/home.gif ALT=Home/A 1.3 +3 -0 apachen/htdocs/manual/misc/header.html Index: header.html === RCS file: /export/home/cvs/apachen/htdocs/manual/misc/header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- header.html 1997/06/04 11:42:57 1.2 +++ header.html 1997/11/04 01:17:59 1.3 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=../images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.3 + /H3 /DIV 1.3 +4 -0 apachen/htdocs/manual/mod/footer.html Index: footer.html === RCS file: /export/home/cvs/apachen/htdocs/manual/mod/footer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- footer.html 1996/11/21 10:30:35 1.2 +++ footer.html 1997/11/04 01:18:00 1.3 @@ -1,4 +1,8 @@ HR +H3 ALIGN=CENTER + Apache HTTP Server Version 1.3 +/H3 + A HREF=./IMG SRC=../images/index.gif ALT=Index/A A HREF=../IMG SRC=../images/home.gif ALT=Home/A 1.3 +3 -0 apachen/htdocs/manual/mod/header.html Index: header.html === RCS file: /export/home/cvs/apachen/htdocs/manual/mod/header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- header.html 1997/06/04 16:14:14 1.2 +++ header.html 1997/11/04 01:18:00 1.3 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=../images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.3 + /H3 /DIV
cvs commit: apache-site/contributors index.html
randy 97/11/03 17:19:44 Modified:contributors index.html Log: Update changes. Revision ChangesPath 1.20 +5 -6 apache-site/contributors/index.html Index: index.html === RCS file: /export/home/cvs/apache-site/contributors/index.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- index.html1997/11/03 18:41:41 1.19 +++ index.html1997/11/04 01:19:43 1.20 @@ -423,14 +423,13 @@ P BName:/B A NAME=terbushRandy Terbush/ABR -BEmail:/B A HREF=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/ABR -BURL:/B A HREF=http://www.zyzzyva.com/;http://www.zyzzyva.com//ABR -BOrganization:/B Zyzzyva EnterprisesBR -BOccupation:/B Internet Services, Sysadmin, WebmasterBR +BEmail:/B A HREF=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/ABR +BURL:/B A HREF=http://www.covalent.net/;http://www.covalent.net//ABR +BOrganization:/B Covalent TechnologiesBR +BOccupation:/B Network AdministrationBR BLocation:/B Lincoln, NE, USABR BComments:/B BR -BOS Expertise:/B NetBSD, BSDI, SunOS 4.1.x, HPUXBR -BContributions:/B Logo Design; NetBSD, BSDI SunOS porting.BR +BOS Expertise:/B *BSDBR P
cvs commit: apache-site ABOUT_APACHE.html
randy 97/11/03 17:22:16 Modified:.ABOUT_APACHE.html Log: Update changes. Revision ChangesPath 1.8 +3 -3 apache-site/ABOUT_APACHE.html Index: ABOUT_APACHE.html === RCS file: /export/home/cvs/apache-site/ABOUT_APACHE.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ABOUT_APACHE.html 1997/11/03 18:41:40 1.7 +++ ABOUT_APACHE.html 1997/11/04 01:22:15 1.8 @@ -240,7 +240,7 @@ TR TDRandy Terbushnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; /TD - TDZyzzyva ISP, Nebraska + TDCovalent Technologies, Nebraska /TD /TR TR @@ -307,8 +307,8 @@ Many 3SUPrd/SUP-party modules, frequently used and recommended, are also freely-available and linked from the related projects page: lt;A - HREF=http://www.zyzzyva.com/module_registry/; - SAMPhttp://www.zyzzyva.com/module_registry//SAMP/Agt;, and + HREF=http://www.covalent.net/module_registry/; + SAMPhttp://www.covalent.net/module_registry//SAMP/Agt;, and their authors frequently contribute ideas, patches, and testing. In particular, Doug MacEachern (SAMPmod_perl/SAMP) and Rasmus Lerdorf (SAMPmod_php/SAMP).
cvs commit: apache/htdocs/manual/mod footer.html header.html
coar97/11/03 17:22:49 Modified:htdocs/manual Tag: APACHE_1_2_X footer.html header.html htdocs/manual/misc Tag: APACHE_1_2_X footer.html header.html htdocs/manual/mod Tag: APACHE_1_2_X footer.html header.html Log: Add the version (1.2) to the header and footer include files, just to make things clear. Revision ChangesPath No revision No revision 1.2.2.1 +3 -0 apache/htdocs/manual/footer.html Index: footer.html === RCS file: /export/home/cvs/apache/htdocs/manual/footer.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- footer.html 1996/11/21 10:47:09 1.2 +++ footer.html 1997/11/04 01:22:45 1.2.2.1 @@ -1,3 +1,6 @@ HR +H3 ALIGN=CENTER + Apache HTTP Server Version 1.2 +/H3 A HREF=./IMG SRC=images/index.gif ALT=Index/A 1.2.2.1 +3 -0 apache/htdocs/manual/header.html Index: header.html === RCS file: /export/home/cvs/apache/htdocs/manual/header.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- header.html 1997/06/04 02:55:15 1.2 +++ header.html 1997/11/04 01:22:45 1.2.2.1 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.2 + /H3 /DIV No revision No revision 1.2.2.1 +3 -0 apache/htdocs/manual/misc/footer.html Index: footer.html === RCS file: /export/home/cvs/apache/htdocs/manual/misc/footer.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- footer.html 1996/11/21 09:55:48 1.2 +++ footer.html 1997/11/04 01:22:46 1.2.2.1 @@ -1,4 +1,7 @@ HR +H3 ALIGN=CENTER + Apache HTTP Server Version 1.2 +/H3 A HREF=./IMG SRC=../images/index.gif ALT=Index/A A HREF=../IMG SRC=../images/home.gif ALT=Home/A 1.2.2.1 +3 -0 apache/htdocs/manual/misc/header.html Index: header.html === RCS file: /export/home/cvs/apache/htdocs/manual/misc/header.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- header.html 1997/06/04 11:42:57 1.2 +++ header.html 1997/11/04 01:22:47 1.2.2.1 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=../images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.2 + /H3 /DIV No revision No revision 1.2.2.1 +3 -0 apache/htdocs/manual/mod/footer.html Index: footer.html === RCS file: /export/home/cvs/apache/htdocs/manual/mod/footer.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- footer.html 1996/11/21 10:30:35 1.2 +++ footer.html 1997/11/04 01:22:48 1.2.2.1 @@ -1,4 +1,7 @@ HR +H3 ALIGN=CENTER + Apache HTTP Server Version 1.2 +/H3 A HREF=./IMG SRC=../images/index.gif ALT=Index/A A HREF=../IMG SRC=../images/home.gif ALT=Home/A 1.2.2.1 +3 -0 apache/htdocs/manual/mod/header.html Index: header.html === RCS file: /export/home/cvs/apache/htdocs/manual/mod/header.html,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- header.html 1997/06/04 16:14:14 1.2 +++ header.html 1997/11/04 01:22:48 1.2.2.1 @@ -1,3 +1,6 @@ DIV ALIGN=CENTER IMG SRC=../images/sub.gif ALT=[APACHE DOCUMENTATION] + H3 + Apache HTTP Server Version 1.2 + /H3 /DIV
cvs commit: apache-site related_projects.html
randy 97/11/03 17:23:34 Modified:.related_projects.html Log: Update changes. Revision ChangesPath 1.10 +3 -3 apache-site/related_projects.html Index: related_projects.html === RCS file: /export/home/cvs/apache-site/related_projects.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- related_projects.html 1997/08/03 10:11:06 1.9 +++ related_projects.html 1997/11/04 01:23:33 1.10 @@ -79,7 +79,7 @@ BLOCKQUOTE For more information about the Apache Module Registry, please consult the page at -A HREF=http://www.zyzzyva.com/server/module_registry/;Zyzzyva Enterprises/A (Nebraska). +A HREF=http://www.covalent.net/module_registry/;Covalent Technologies/A (Nebraska). /BLOCKQUOTE hr @@ -103,12 +103,12 @@ PHP/FI implements a simple HTML-embedded scripting language. It includes a built-in page logging/counting mechanism with the ability to log hits to an SQL database. It also supports a number of RDBMS packages including -mSQL 1, mSQL 2, MySQL, FilePro, Solid, Postgres95, PostgreSQL, Oracle, and +Adabas-D, mSQL 1, mSQL 2, MySQL, FilePro, Solid, Postgres95, PostgreSQL, Oracle, and Sybase. BLOCKQUOTE For more information on PHP/FI see the -A HREF=http://www.vex.net/php/;PHP/FI Homepage/A (Toronto). +A HREF=http://php.iquest.net/;PHP/FI Homepage/A. /BLOCKQUOTE HR
cvs commit: apache-site/info supportdb.txt
randy 97/11/03 17:30:00 Modified:info supportdb.txt Log: Update changes. Revision ChangesPath 1.2 +1 -1 apache-site/info/supportdb.txt Index: supportdb.txt === RCS file: /export/home/cvs/apache-site/info/supportdb.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- supportdb.txt 1997/03/25 04:43:17 1.1 +++ supportdb.txt 1997/11/04 01:30:00 1.2 @@ -1,8 +1,8 @@ # Type NameURL E-mail Phone Fax LocationComments +Comp Covalent Technologies http://www.covalent.net/[EMAIL PROTECTED] (402) 441-5710 (402) 441-5720 Lincoln, Nebraska, USA Comp Dana Point Communication Systemshttp://www.dpcsys.com/ [EMAIL PROTECTED] (714) 443-4172 (714) 443-9516 Dana Point, California Comp Digituruhttp://www.digit.ee/[EMAIL PROTECTED] Estonia Comp ICONSULThttp://www.iconsult.com/[EMAIL PROTECTED] +49-(0)9131-502864 +49-(0)9131-537873 Erlangen, Germany -Comp Zyzzyva Enterprises http://www.zyzzyva.com/ [EMAIL PROTECTED] (402) 438-1848 (402) 438-1869 Lincoln, Nebraska Cont Russell McOrmondhttp://www.flora.ottawa.on.ca/russell/work/ [EMAIL PROTECTED] (613) 235-7584 (613) 235-9627 Ottawa, Canada Comp Spacestar Communicationshttp://www.spacestar.com/ [EMAIL PROTECTED] (612) 896-1100 (612) 896-1750 Minneapolis, Minnesota Comp Trytel Internet Inc.http://www.trytel.com/ [EMAIL PROTECTED] (613) 722-6321 (613) 722-6749 Ottawa, Canada
cvs commit: apachen/src/test - New directory
fielding97/11/03 18:40:51 apachen/src/test - New directory
cvs commit: apachen/src/test time-sem.c
dgaudet 97/11/03 23:57:43 Modified:src/test time-sem.c Log: make it clear that fcntl/flock open lock file in cwd Revision ChangesPath 1.2 +2 -0 apachen/src/test/time-sem.c Index: time-sem.c === RCS file: /export/home/cvs/apachen/src/test/time-sem.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- time-sem.c1997/11/04 02:47:13 1.1 +++ time-sem.c1997/11/04 07:57:43 1.2 @@ -59,6 +59,7 @@ unlock_it.l_type = F_UNLCK; /* set exclusive/write lock */ unlock_it.l_pid= 0;/* pid not actually interesting */ +printf(opening test-lock-thing in current directory\n); fcntl_fd = open(test-lock-thing, O_CREAT | O_WRONLY | O_EXCL, 0644); if (fcntl_fd == -1) { @@ -105,6 +106,7 @@ accept_mutex_init(void) { +printf(opening test-lock-thing in current directory\n); flock_fd = open(test-lock-thing, O_CREAT | O_WRONLY | O_EXCL, 0644); if (flock_fd == -1) {
cvs commit: apachen/src/test time-sem.c
dgaudet 97/11/04 00:33:13 Modified:src/test time-sem.c Log: latest greatest time-sem.c Revision ChangesPath 1.3 +64 -15apachen/src/test/time-sem.c Index: time-sem.c === RCS file: /export/home/cvs/apachen/src/test/time-sem.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- time-sem.c1997/11/04 07:57:43 1.2 +++ time-sem.c1997/11/04 08:33:13 1.3 @@ -1,23 +1,38 @@ /* -Date: Sat, 1 Nov 1997 16:53:52 -0800 (PST) -From: Dean Gaudet [EMAIL PROTECTED] +time-sem.c has the basics of the semaphores we use in http_main.c. It's +intended for timing differences between various methods on an +architecture. In practice we've found many things affect which semaphore +to be used: + +- NFS filesystems absolutely suck for fcntl() and flock() + +- uslock absolutely sucks on single-processor IRIX boxes, but + absolutely rocks on multi-processor boxes. The converse + is true for fcntl. sysvsem seems a moderate balance. + +- Under Solaris you can't have too many processes use SEM_UNDO, there + might be a tuneable somewhere that increases the limit from 29. + We're not sure what the tunable is, so there's a define + NO_SEM_UNDO which can be used to simulate us trapping/blocking + signals to be able to properly release the semaphore on a clean + child death. + +argv[1] is the #children, argv[2] is the #iterations per child + +You should run each over many different #children inputs, and choose +#iter such that the program runs for at least a second or so... or even +longer depending on your patience. -This time-sem.c includes the necessary signal manipulations to allow us to -continue to use pthreads. It appears to still be and order of magnitude -faster than fcntl locking. I'm a little too busy to make a patch though, -so if someone could take the pthread code in time-sem.c here and compare -it against the server ... and generate a patch, that'd be great. You also -have to properly release the mutex on any of the three unblocked signals -- -which you should do in the handlers we already have for those signals, -so that we don't have to also instate a handler during the critical -section ... - -Dean +compile with: gcc -o time-FCNTL -Wall -O time-sem.c -DUSE_FCNTL_SERIALIZED_ACCEPT gcc -o time-FLOCK -Wall -O time-sem.c -DUSE_FLOCK_SERIALIZED_ACCEPT -gcc -o time-SEM -Wall -O time-sem.c -DUSE_SYSVSEM_SERIALIZED_ACCEPT +gcc -o time-SYSVSEM -Wall -O time-sem.c -DUSE_SYSVSEM_SERIALIZED_ACCEPT +gcc -o time-SYSVSEM2 -Wall -O time-sem.c -DUSE_SYSVSEM_SERIALIZED_ACCEPT -DNO_SEM_UNDO gcc -o time-PTHREAD -Wall -O time-sem.c -DUSE_PTHREAD_SERIALIZED_ACCEPT -lpthread +gcc -o time-USLOCK -Wall -O time-sem.c -DUSE_USLOCK_SERIALIZED_ACCEPT + +not all versions work on all systems. */ #include errno.h @@ -146,6 +161,10 @@ #include sys/sem.h static int sem_id = -1; +#ifdef NO_SEM_UNDO +static sigset_t accept_block_mask; +static sigset_t accept_previous_mask; +#endif void accept_mutex_init(void) { @@ -167,15 +186,29 @@ perror (semctl); exit(1); } +#ifdef NO_SEM_UNDO +sigfillset(accept_block_mask); +sigdelset(accept_block_mask, SIGHUP); +sigdelset(accept_block_mask, SIGTERM); +sigdelset(accept_block_mask, SIGUSR1); +#endif } void accept_mutex_on() { struct sembuf op; +#ifdef NO_SEM_UNDO +if (sigprocmask(SIG_BLOCK, accept_block_mask, accept_previous_mask)) { + perror(sigprocmask(SIG_BLOCK)); + exit (1); +} +op.sem_flg = 0; +#else +op.sem_flg = SEM_UNDO; +#endif op.sem_num = 0; op.sem_op = -1; -op.sem_flg = SEM_UNDO; if (semop(sem_id, op, 1) 0) { perror (accept_mutex_on); exit (1); @@ -188,15 +221,30 @@ op.sem_num = 0; op.sem_op = 1; +#ifdef NO_SEM_UNDO +op.sem_flg = 0; +#else op.sem_flg = SEM_UNDO; +#endif if (semop(sem_id, op, 1) 0) { perror (accept_mutex_off); exit (1); } +#ifdef NO_SEM_UNDO +if (sigprocmask(SIG_SETMASK, accept_previous_mask, NULL)) { + perror(sigprocmask(SIG_SETMASK)); + exit (1); +} +#endif } #elif defined (USE_PTHREAD_SERIALIZED_ACCEPT) +/* note: pthread mutexes aren't released on child death, hence the + * signal goop ... in a real implementation we'd do special things + * during hup, term, usr1. + */ + #include pthread.h static pthread_mutex_t *mutex; @@ -403,5 +451,6 @@ } last.tv_usec = ms; printf (%8lu.%06lu\n, last.tv_sec, last.tv_usec); +exit(0); }
cvs commit: apache-site/mirrors index.html mirrors.list
randy 97/11/04 09:41:42 Modified:mirrors index.html mirrors.list Log: Correct an address. Revision ChangesPath 1.19 +2 -2 apache-site/mirrors/index.html Index: index.html === RCS file: /export/home/cvs/apache-site/mirrors/index.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- index.html1997/11/04 00:56:18 1.18 +++ index.html1997/11/04 17:41:41 1.19 @@ -162,9 +162,9 @@ A HREF=http://www.module.vympel.msk.ru/mirror/apache/;ru/A - !-- [EMAIL PROTECTED] -- A HREF=http://apache.ifmo.ru/;ru/A - -!-- [EMAIL PROTECTED] -- +!-- -- A HREF=http://www.tomcat.ru/apache/;ru/A - -!-- [EMAIL PROTECTED] -- +!-- [EMAIL PROTECTED] -- A HREF=http://apache.inf.ru/;ru/A - !-- [EMAIL PROTECTED] -- A HREF=http://www.unit.liu.se/apache/;se/A - 1.32 +2 -2 apache-site/mirrors/mirrors.list Index: mirrors.list === RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- mirrors.list 1997/11/04 00:56:18 1.31 +++ mirrors.list 1997/11/04 17:41:41 1.32 @@ -67,8 +67,8 @@ http ro http://www.sorosis.ro/ftp/mirrors/www.apache.org/ [EMAIL PROTECTED] http ro http://www.utt.ro/ftp/pub/packages/apache/ [EMAIL PROTECTED] http ru http://www.module.vympel.msk.ru/mirror/apache/ [EMAIL PROTECTED] -http ru http://apache.ifmo.ru/ [EMAIL PROTECTED] -http ru http://www.tomcat.ru/apache/[EMAIL PROTECTED] +http ru http://apache.ifmo.ru/ +http ru http://www.tomcat.ru/apache/[EMAIL PROTECTED] http ru http://apache.inf.ru/ [EMAIL PROTECTED] http se http://www.unit.liu.se/apache/ [EMAIL PROTECTED] http se http://apache.dc.luth.se/ [EMAIL PROTECTED]