aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-29 13:24:34 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-29 13:24:34 -0400
commitd3acd2ab316969ccce0d6ad0d15667280e71e259 (patch)
treea2251fd73966420d559ca53a2440e00f86bdede7
parent924245b5a37ace95ada2183ce522c23b9ca05552 (diff)
Add READ_LOCK/READ_UNLOCK to timestamp name table
-rw-r--r--src/timestamp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timestamp.c b/src/timestamp.c
index 442c445..aa40a81 100644
--- a/src/timestamp.c
+++ b/src/timestamp.c
@@ -30,6 +30,8 @@ static struct event_name event_table[] =
30 EVENT(UNLOCK), 30 EVENT(UNLOCK),
31 {"LOCK_SUSPEND", TS_LOCK_SUSPEND}, 31 {"LOCK_SUSPEND", TS_LOCK_SUSPEND},
32 {"LOCK_RESUME", TS_LOCK_RESUME}, 32 {"LOCK_RESUME", TS_LOCK_RESUME},
33 EVENT(READ_LOCK),
34 EVENT(READ_UNLOCK),
33}; 35};
34 36
35int str2event(const char* str, cmd_t *id) 37int str2event(const char* str, cmd_t *id)