diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-11-22 03:00:54 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-11-22 03:00:54 +0100 |
commit | 95f4c7cb4a9f0a30ab9d78852725a45688a97512 (patch) | |
tree | c2dab013ed2769c31ca4b0233faa9cfa69224ab9 /parsing.h | |
parent | 5d8561e4257f13756010daca1bb098bdef9cb97c (diff) |
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).
Diffstat (limited to 'parsing.h')
-rw-r--r-- | parsing.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |