]> mj.ucw.cz Git - libucw.git/blobdiff - lib/threads.h
First bits of installation of .pc files.
[libucw.git] / lib / threads.h
index 9e33109e72eaca794be58fd1e9e8f8ca7bfb18f2..c70354fb71dafb8ce8e6418de946dd45d8b1624d 100644 (file)
@@ -13,6 +13,7 @@
 /* This structure holds per-thread data */
 
 struct ucwlib_context {
+  int thread_id;                       // Thread ID (either kernel tid or a counter)
   int temp_counter;                    // Counter for fb-temp.c
   struct asio_queue *io_queue;         // Async I/O queue for fb-direct.c
   sh_sighandler_t *signal_handlers;    // Signal handlers for sighandler.c