From 2b362c12bca34dd2a34bc25695f12e5a883a8a47 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 2 Sep 2008 01:21:38 +0200 Subject: [PATCH] Cleaned up thread context --- ucw/threads.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ucw/threads.h b/ucw/threads.h index 9f748ddd..e0ff0150 100644 --- a/ucw/threads.h +++ b/ucw/threads.h @@ -18,8 +18,10 @@ 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 + // Resources and transactions: + struct respool *current_respool; // Current resource pool + struct mempool *trans_pool; // Transaction mempool + struct trans *current_trans; // Currently open transaction }; #ifdef CONFIG_UCW_THREADS -- 2.39.2