change libtar to fork instead of pthread
Conflicts:
twrpTar.cpp
diff --git a/twrpTar.hpp b/twrpTar.hpp
index db9cf9b..427e6d1 100644
--- a/twrpTar.hpp
+++ b/twrpTar.hpp
@@ -39,10 +39,10 @@
int createTar();
int addFile(string fn, bool include_root);
int closeTar(bool gzip);
- int createTarGZThread();
- int createTarThread();
- int extractTarThread();
- int splitArchiveThread();
+ int createTarGZFork();
+ int createTarFork();
+ int extractTarFork();
+ int splitArchiveFork();
void setfn(string fn);
void setdir(string dir);
private:
@@ -65,6 +65,4 @@
string tardir;
string tarfn;
string basefn;
- typedef int (twrpTar::*ThreadPtr)(void);
- typedef void* (*PThreadPtr)(void*);
};