]> mj.ucw.cz Git - libucw.git/commitdiff
Cleaned up thread context
authorMartin Mares <mj@ucw.cz>
Mon, 1 Sep 2008 23:21:38 +0000 (01:21 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 29 Mar 2011 10:55:04 +0000 (12:55 +0200)
ucw/threads.h

index 9f748dddcc11128e92ba054d6bf5fa168bebc167..e0ff01505dba2b878b373f20a6101b22c1fa7cf1 100644 (file)
@@ -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