]> mj.ucw.cz Git - libucw.git/blobdiff - lib/threads.h
Configure default thread stack size globally.
[libucw.git] / lib / threads.h
index 3c8b03afb9aa51a735abb371d5f48ca4eb0662d7..355902d668a06fd533b8b8dcd94f6aadaa564ea8 100644 (file)
@@ -14,6 +14,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
 };
 
 struct ucwlib_context *ucwlib_thread_context(void);
@@ -23,4 +24,10 @@ struct ucwlib_context *ucwlib_thread_context(void);
 void ucwlib_lock(void);
 void ucwlib_unlock(void);
 
+#ifdef CONFIG_UCW_THREADS
+
+extern uns default_thread_stack_size;
+
+#endif
+
 #endif