aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-24 09:15:38 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-24 09:15:38 +1000
commit9714521bf4dd7c520efc975b4f8ec2c4efbcb839 (patch)
tree6570d943e050c8c7e8e3f614171d1ebc88d1c446 /proc.h
parent61af4e2197aa26865f4865fcf763ab3bd501af54 (diff)
Fix for broken variable export
darcs-hash:20050923231538-ac50b-60e0a827ce74a168dce0cca34ce96cf89c12ada9.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 213c6a4b..c8f44380 100644
--- a/proc.h
+++ b/proc.h
@@ -150,6 +150,17 @@ extern int is_login;
/** Linked list of all jobs */
extern job_t *first_job;
+/**
+ Whether a universal variable barrier roundtrip has already been
+ made for this command. Such a roundtrip only needs to be done once
+ on a given command, unless a unversal variable value is
+ changed. Once this has been done, this variable is set to 1, so
+ that no more roundtrips need to be done.
+
+ Both setting it to one when it should be zero and the opposite may
+ cause concurrency bugs.
+*/
+extern int proc_had_barrier;
extern pid_t proc_last_bg_pid;