X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fthreads.h;h=c70354fb71dafb8ce8e6418de946dd45d8b1624d;hb=1386442ebc5b681b0ded431880198e3beb6da483;hp=9e33109e72eaca794be58fd1e9e8f8ca7bfb18f2;hpb=2e228d21a4643c28db7ba87dbc5f4fc523ae4fe1;p=libucw.git diff --git a/lib/threads.h b/lib/threads.h index 9e33109e..c70354fb 100644 --- a/lib/threads.h +++ b/lib/threads.h @@ -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