projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add threading to xfer
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
condition.h
diff --git
a/cinelerra-5.1/guicast/condition.h
b/cinelerra-5.1/guicast/condition.h
index 8ab4fd870c62e3de0b53a564b46440a29cda8a4a..1fd455e2e1400d42c452670e1ed2df1b45a13333 100644
(file)
--- a/
cinelerra-5.1/guicast/condition.h
+++ b/
cinelerra-5.1/guicast/condition.h
@@
-30,7
+30,6
@@
public:
Condition(int init_value = 0, const char *title = 0, int is_binary = 0);
~Condition();
Condition(int init_value = 0, const char *title = 0, int is_binary = 0);
~Condition();
-
// Reset to init_value whether locked or not.
void reset();
// Block if value <= 0, then decrease value
// Reset to init_value whether locked or not.
void reset();
// Block if value <= 0, then decrease value
@@
-43,9
+42,9
@@
public:
int timed_lock(int microseconds, const char *location = 0);
int get_value();
int timed_lock(int microseconds, const char *location = 0);
int get_value();
- pthread_cond_t cond;
- pthread_mutex_t mutex;
- int value;
+
pthread_cond_t cond;
+
pthread_mutex_t mutex;
+
int value;
int init_value;
int is_binary;
const char *title;
int init_value;
int is_binary;
const char *title;