diff options
author | axel <axel@liljencrantz.se> | 2005-09-24 09:15:38 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-24 09:15:38 +1000 |
commit | 9714521bf4dd7c520efc975b4f8ec2c4efbcb839 (patch) | |
tree | 6570d943e050c8c7e8e3f614171d1ebc88d1c446 /proc.h | |
parent | 61af4e2197aa26865f4865fcf763ab3bd501af54 (diff) |
Fix for broken variable export
darcs-hash:20050923231538-ac50b-60e0a827ce74a168dce0cca34ce96cf89c12ada9.gz
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; |