git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0203d
)
* added field to remember file modification time
author
Michal Voců
<michal@ruk.cuni.cz>
Wed, 21 Mar 2007 16:24:48 +0000
(16:24 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Wed, 21 Mar 2007 16:24:48 +0000
(16:24 +0000)
org.glite.lb.logger/src/interlogd.h
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/interlogd.h
b/org.glite.lb.logger/src/interlogd.h
index
9ec0d55
..
810314e
100644
(file)
--- a/
org.glite.lb.logger/src/interlogd.h
+++ b/
org.glite.lb.logger/src/interlogd.h
@@
-92,6
+92,7
@@
struct event_store {
long last_committed_bs; /* offset behind event that was last committed by BS */
long last_committed_ls; /* -"- LS */
long offset; /* expected file position of next event */
+ time_t last_modified; /* time of the last file modification */
int recovering; /* flag for recovery mode */
pthread_rwlock_t update_lock; /* lock to prevent simultaneous updates */
pthread_rwlock_t use_lock; /* lock to prevent struct deallocation */