Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / drivesync.C
blob4f2b62ca6403de924c5044b9b4766f122dfd88f5
1 #include "drivesync.h"
3 #include <stdio.h>
4 #include <unistd.h>
6 DriveSync::DriveSync()
7  : Thread()
9         done = 0;
10         set_synchronous(1);
13 DriveSync::~DriveSync()
15         done = 1;
16         Thread::join();
19 void DriveSync::run()
21         while(!done)
22         {
23                 sync();
24                 sleep(1);
25         }
28 //      Local Variables:
29 //      mode: C++
30 //      c-file-style: "linux"
31 //      End: