#include <removethread.h>
Inherits Thread.

Public Member Functions | |
| RemoveThread () | |
| void | remove_file (char *path) |
| void | create_objects () |
| void | run () |
Data Fields | |
| Condition * | input_lock |
| Mutex * | file_lock |
| ArrayList< char * > | files |
Definition at line 10 of file removethread.h.
| RemoveThread::RemoveThread | ( | ) |
| void RemoveThread::remove_file | ( | char * | path | ) |
Definition at line 22 of file removethread.C.
References ArrayList< TYPE >::append(), BCTEXTLEN, file_lock, files, input_lock, Mutex::lock(), rename(), Condition::unlock(), and Mutex::unlock().
Referenced by Record::delete_output_file().

| void RemoveThread::create_objects | ( | ) |
Definition at line 39 of file removethread.C.
References Thread::start().
Referenced by MWindow::create_objects().

| void RemoveThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 44 of file removethread.C.
References BCTEXTLEN, file_lock, files, input_lock, Mutex::lock(), Condition::lock(), ArrayList< TYPE >::remove_object_number(), ArrayList< TYPE >::total, Mutex::unlock(), and ArrayList< TYPE >::values.

Definition at line 17 of file removethread.h.
Referenced by remove_file(), RemoveThread(), and run().
Definition at line 18 of file removethread.h.
Referenced by remove_file(), RemoveThread(), and run().
| ArrayList<char*> RemoveThread::files |
1.5.5