summaryrefslogtreecommitdiffstats
path: root/userspace/include/unit
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/include/unit')
-rw-r--r--userspace/include/unit/args.h1
-rw-r--r--userspace/include/unit/unit.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/userspace/include/unit/args.h b/userspace/include/unit/args.h
index def84a29..708a1655 100644
--- a/userspace/include/unit/args.h
+++ b/userspace/include/unit/args.h
@@ -42,6 +42,7 @@ struct unit_fw_args {
42 bool help; 42 bool help;
43 int verbose_lvl; 43 int verbose_lvl;
44 bool no_color; 44 bool no_color;
45 int thread_count;
45 46
46 const char *unit_name; 47 const char *unit_name;
47 const char *unit_load_path; 48 const char *unit_load_path;
diff --git a/userspace/include/unit/unit.h b/userspace/include/unit/unit.h
index 2f93bab5..442a73f1 100644
--- a/userspace/include/unit/unit.h
+++ b/userspace/include/unit/unit.h
@@ -23,6 +23,8 @@
23#ifndef __UNIT_UNIT_H__ 23#ifndef __UNIT_UNIT_H__
24#define __UNIT_UNIT_H__ 24#define __UNIT_UNIT_H__
25 25
26#include <pthread.h>
27
26struct gk20a; 28struct gk20a;
27 29
28struct unit_module; 30struct unit_module;
@@ -84,6 +86,8 @@ struct unit_module {
84 */ 86 */
85 void *lib_handle; 87 void *lib_handle;
86 struct unit_fw *fw; 88 struct unit_fw *fw;
89
90 pthread_t thread;
87}; 91};
88 92
89/* 93/*