summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-19 20:41:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-19 20:41:49 +0000
commitd78bd82122ab41e3ed85e9abd0795d05045ece38 (patch)
treec30293dc79ccac2dc32dc67639df0f40dd9707af
parent09ace5ff39caed055c3f86fc0e5ccec282658b28 (diff)
(struct transbox): Delete member `innerlock'. Add members `flags' and
`wakeup'; and define values for flags.
-rw-r--r--libfshelp/fshelp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index f4752de9..182ffbce 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -74,9 +74,12 @@ struct transbox
{
fsys_t active;
struct mutex *lock;
- struct mutex innerlock;
+ int flags;
+ struct condition wakeup;
void *cookie;
};
+#define TRANSBOX_STARTING 1
+#define TRANSBOX_WANTED 2
/* This interface is complex, because creating the ports and state
necessary for start_translator_long is expensive. The caller to