diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-11 07:20:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-11 07:20:16 +0000 |
commit | ff4b4e667a64b30e4323df4b0e1637fc7ebae6c1 (patch) | |
tree | 23eecd0ffd3bf3f5a954b484bcfbe348e29ab037 /tmux.h | |
parent | 4bc0f6e7e9eac73f7a1221ed4c2854d12eb1cf7e (diff) | |
download | rtmux-ff4b4e667a64b30e4323df4b0e1637fc7ebae6c1.tar.gz rtmux-ff4b4e667a64b30e4323df4b0e1637fc7ebae6c1.tar.bz2 rtmux-ff4b4e667a64b30e4323df4b0e1637fc7ebae6c1.zip |
Collect status from dead jobs and don't invoke the callback until both
all input (the socket is closed) and status is available.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -567,6 +567,7 @@ ARRAY_DECL(keylist, int); struct job { char *cmd; pid_t pid; + int status; struct client *client; @@ -577,6 +578,9 @@ struct job { void (*freefn)(void *); void *data; + int flags; +#define JOB_DONE 0x1 + RB_ENTRY(job) entry; SLIST_ENTRY(job) lentry; }; |