X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fthreads.h;h=c70354fb71dafb8ce8e6418de946dd45d8b1624d;hb=c9bb8b99608f4442d493081b616f6707043ddb6c;hp=355902d668a06fd533b8b8dcd94f6aadaa564ea8;hpb=1b6962813dfd442167a04baa8ce260b822a9d18d;p=libucw.git diff --git a/lib/threads.h b/lib/threads.h index 355902d6..c70354fb 100644 --- a/lib/threads.h +++ b/lib/threads.h @@ -13,8 +13,10 @@ /* 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 }; struct ucwlib_context *ucwlib_thread_context(void);