Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

drivesync.C

Go to the documentation of this file.
00001 #include "drivesync.h"
00002 
00003 #include <stdio.h>
00004 #include <unistd.h>
00005 
00006 DriveSync::DriveSync()
00007  : Thread()
00008 {
00009         done = 0;
00010         set_synchronous(1);
00011 }
00012 
00013 DriveSync::~DriveSync()
00014 {
00015         done = 1;
00016         Thread::join();
00017 }
00018 
00019 void DriveSync::run()
00020 {
00021         while(!done)
00022         {
00023                 sync();
00024                 sleep(1);
00025         }
00026 }

Generated on Sun Jan 8 13:38:53 2006 for Cinelerra-svn by  doxygen 1.4.4