Mercurial > noffle
diff ChangeLog @ 165:8ea6b5ddc5a5 noffle
[svn] * src/lock.h,src/lock.c,src/noffle.c: Add lazy lock release. Only release
the lock and close the databases if (a) another process signals us
SIGUSR1 indicating it wants the lock, or (b) it is explicitly requested by
a call to new function Lock_syncDatabases(). When waiting for the lock,
SIGUSR1 the holding process every second. This is all an attempt to
minimise the number of times we need to close and open the database.
When (ha!) the database is replaced by something that can handle
multiple simultaneous writers (with appropriate locking) this won't
be necessary.
author | bears |
---|---|
date | Thu, 25 Jan 2001 13:38:31 +0000 |
parents | 7bbff2e00543 |
children | 7ba337dafb2c |
line wrap: on
line diff
--- a/ChangeLog Thu Jan 25 11:00:03 2001 +0000 +++ b/ChangeLog Thu Jan 25 13:38:31 2001 +0000 @@ -1,3 +1,19 @@ +Thu Jan 25 2001 Jim Hague <jim.hague@acm.org> + + * src/client.c,src/protocol.c,src/util.h,src/util.c: Common up + repeated signal handler setting code into Utl_installSignalHandler. + * src/client.c: Ensure Client_retrieveArt always exits with the global + lock held. Previously it would be held on error, not held if OK. + * src/lock.h,src/lock.c,src/noffle.c: Add lazy lock release. Only release + the lock and close the databases if (a) another process signals us + SIGUSR1 indicating it wants the lock, or (b) it is explicitly requested by + a call to new function Lock_syncDatabases(). When waiting for the lock, + SIGUSR1 the holding process every second. This is all an attempt to + minimise the number of times we need to close and open the database. + When (ha!) the database is replaced by something that can handle + multiple simultaneous writers (with appropriate locking) this won't + be necessary. + Fri Dec 29 2000 Markus Enzenberger <markus.enzenberger@t-online.de> * src/server.c: apply bug-fix for lazy group loading by Matija Nalis @@ -30,7 +46,7 @@ packages/redhat/noffle.spec,src/configfile.h,src/configfile.c, src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long, and added inews mode - the Noffle executable behaves - as inews is invoked as inews. This includes adding From: and + as inews if invoked as inews. This includes adding From: and Organization: headers if necessary - add configs to override defaults for the From: domain and specify the organization. For all my fellow trn-heads out there, and users of any other