00001 #ifndef REMOVETHREAD_H 00002 #define REMOVETHREAD_H 00003 00004 #include "arraylist.h" 00005 #include "condition.inc" 00006 #include "mutex.inc" 00007 #include "thread.h" 00008 00009 00010 class RemoveThread : public Thread 00011 { 00012 public: 00013 RemoveThread(); 00014 void remove_file(char *path); 00015 void create_objects(); 00016 void run(); 00017 Condition *input_lock; 00018 Mutex *file_lock; 00019 ArrayList<char*> files; 00020 }; 00021 00022 00023 00024 #endif
1.5.5