X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fthreads.h;h=9334e29e317434a2cde4f1d3e2b3c5f77ddb2383;hb=c18ab57cb2da67f47b74a00cdc3bff6c80c803cb;hp=7f100b20b2dc79882fb11a4f03250022f560a44b;hpb=30680da0fe1192be08f2ff02d912e3b8a0f1212f;p=libucw.git diff --git a/ucw/threads.h b/ucw/threads.h index 7f100b20..9334e29e 100644 --- a/ucw/threads.h +++ b/ucw/threads.h @@ -7,8 +7,8 @@ * of the GNU Lesser General Public License. */ -#ifndef _UCW_THREAD_H -#define _UCW_THREAD_H +#ifndef _UCW_THREADS_H +#define _UCW_THREADS_H /* This structure holds per-thread data */ @@ -17,6 +17,7 @@ struct ucwlib_context { int temp_counter; // Counter for fb-temp.c 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 }; #ifdef CONFIG_UCW_THREADS