Mercurial > noffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
164:94f2e5607772 | 165:8ea6b5ddc5a5 |
---|---|
1 Thu Jan 25 2001 Jim Hague <jim.hague@acm.org> | |
2 | |
3 * src/client.c,src/protocol.c,src/util.h,src/util.c: Common up | |
4 repeated signal handler setting code into Utl_installSignalHandler. | |
5 * src/client.c: Ensure Client_retrieveArt always exits with the global | |
6 lock held. Previously it would be held on error, not held if OK. | |
7 * src/lock.h,src/lock.c,src/noffle.c: Add lazy lock release. Only release | |
8 the lock and close the databases if (a) another process signals us | |
9 SIGUSR1 indicating it wants the lock, or (b) it is explicitly requested by | |
10 a call to new function Lock_syncDatabases(). When waiting for the lock, | |
11 SIGUSR1 the holding process every second. This is all an attempt to | |
12 minimise the number of times we need to close and open the database. | |
13 When (ha!) the database is replaced by something that can handle | |
14 multiple simultaneous writers (with appropriate locking) this won't | |
15 be necessary. | |
16 | |
1 Fri Dec 29 2000 Markus Enzenberger <markus.enzenberger@t-online.de> | 17 Fri Dec 29 2000 Markus Enzenberger <markus.enzenberger@t-online.de> |
2 | 18 |
3 * src/server.c: apply bug-fix for lazy group loading by Matija Nalis | 19 * src/server.c: apply bug-fix for lazy group loading by Matija Nalis |
4 * TODO: Add handling of connection breakdown during a fetch to later | 20 * TODO: Add handling of connection breakdown during a fetch to later |
5 section. | 21 section. |
28 this has been seen in the wild. | 44 this has been seen in the wild. |
29 * docs/inews.1,docs/noffle.1,docs/noffle.conf.5, | 45 * docs/inews.1,docs/noffle.1,docs/noffle.conf.5, |
30 packages/redhat/noffle.spec,src/configfile.h,src/configfile.c, | 46 packages/redhat/noffle.spec,src/configfile.h,src/configfile.c, |
31 src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long, | 47 src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long, |
32 and added inews mode - the Noffle executable behaves | 48 and added inews mode - the Noffle executable behaves |
33 as inews is invoked as inews. This includes adding From: and | 49 as inews if invoked as inews. This includes adding From: and |
34 Organization: headers if necessary - add configs to override | 50 Organization: headers if necessary - add configs to override |
35 defaults for the From: domain and specify the organization. | 51 defaults for the From: domain and specify the organization. |
36 For all my fellow trn-heads out there, and users of any other | 52 For all my fellow trn-heads out there, and users of any other |
37 ageing newsreader that expects inews. Updated RPM spec to create | 53 ageing newsreader that expects inews. Updated RPM spec to create |
38 inews link to noffle on install. | 54 inews link to noffle on install. |