aboutsummaryrefslogtreecommitdiff
path: root/include/compiler_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compiler_options.h')
-rw-r--r--include/compiler_options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compiler_options.h b/include/compiler_options.h
index 1854372..e9ac6e2 100644
--- a/include/compiler_options.h
+++ b/include/compiler_options.h
@@ -6,6 +6,8 @@ typedef void(*amal_compiler_error_callback)(const char *err_msg, int err_msg_len
typedef struct {
amal_compiler_error_callback error_callback;
void *error_callback_userdata;
+ /* Number of threads to use. If 0, use the number of threads available on the system */
+ unsigned int num_threads;
} amal_compiler_options;
#endif