summaryrefslogtreecommitdiff
path: root/include/waiting_threads.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2009-01-07 21:50:11 +0100
committerSergei Golubchik <serg@mysql.com>2009-01-07 21:50:11 +0100
commitc45bf1b3cc1dd241f26210ebdef836566124bef0 (patch)
tree343c28d020fc11314ada366229eeff31e49ccd29 /include/waiting_threads.h
parent6aa97fb6648e08745533eacdf5e77afd882c3246 (diff)
downloadmariadb-git-c45bf1b3cc1dd241f26210ebdef836566124bef0.tar.gz
Bug#40990 Maria: failure of maria.test & maria_notemebedded in deadlock detection
detect a case when a blocker has removed itself and signalled after the condition timed out but before it (cond_wait) acquired the mutex back
Diffstat (limited to 'include/waiting_threads.h')
-rw-r--r--include/waiting_threads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/waiting_threads.h b/include/waiting_threads.h
index e872a6b6ab8..c4e5b24fe43 100644
--- a/include/waiting_threads.h
+++ b/include/waiting_threads.h
@@ -185,6 +185,7 @@ typedef struct st_wt_thd {
#define WT_OK 0
#define WT_DEADLOCK -1
#define WT_DEPTH_EXCEEDED -2
+#define WT_FREE_TO_GO -3
void wt_init(void);
void wt_end(void);