From fa77e4e1ca8a7d950f566d52827e862aed919c29 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 30 Aug 2008 19:25:21 +0200 Subject: [PATCH] We will need to remember the current transaction in per-thread data. --- ucw/threads.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ucw/threads.h b/ucw/threads.h index 9334e29e..9f748ddd 100644 --- a/ucw/threads.h +++ b/ucw/threads.h @@ -18,6 +18,8 @@ struct ucwlib_context { struct asio_queue *io_queue; // Async I/O queue for fb-direct.c ucw_sighandler_t *signal_handlers; // Signal handlers for sighandler.c struct main_context *main_context; // Current context for mainloop.c + struct mempool *trans_pool; // Transaction mempool for trans.c + struct trans *current_trans; // Currently open transaction for trans.c }; #ifdef CONFIG_UCW_THREADS -- 2.39.2