From: Martin Mares Date: Mon, 1 Sep 2008 23:21:38 +0000 (+0200) Subject: Cleaned up thread context X-Git-Tag: v5.0~74^2~45 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2b362c12bca34dd2a34bc25695f12e5a883a8a47;p=libucw.git Cleaned up thread context --- 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