From 95f4c7cb4a9f0a30ab9d78852725a45688a97512 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 22 Nov 2009 03:00:54 +0100 Subject: Added support for using pthreads. Data processing (parsing) moved to parsing.c. The line parsing code is moved to its own function which is called from one or more threads (depends on the "threads" setting in the config file). --- parsing.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 parsing.h (limited to 'parsing.h') diff --git a/parsing.h b/parsing.h new file mode 100644 index 0000000..b991d55 --- /dev/null +++ b/parsing.h @@ -0,0 +1,6 @@ +#ifndef _PARSING_H_ +#define _PARSING_H_ + +void process(int thread_n); + +#endif -- cgit v1.2.3