repo.or.cz
/
cinelerra_cv
/
ct.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git]
/
cinelerra
/
drivesync.C
blob
4f2b62ca6403de924c5044b9b4766f122dfd88f5
1
#include "drivesync.h"
2
3
#include <stdio.h>
4
#include <unistd.h>
5
6
DriveSync::DriveSync()
7
: Thread()
8
{
9
done = 0;
10
set_synchronous(1);
11
}
12
13
DriveSync::~DriveSync()
14
{
15
done = 1;
16
Thread::join();
17
}
18
19
void DriveSync::run()
20
{
21
while(!done)
22
{
23
sync();
24
sleep(1);
25
}
26
}
27
/*
28
// Local Variables:
29
// mode: C++
30
// c-file-style: "linux"
31
// End:
32
*/