aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-16 00:24:27 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-16 00:24:27 -0800
commita08450bcb6050cc630d87ae6d7d5f203f8eeca62 (patch)
tree1e49e402f2c5e50aadc8e4d2367f1d1abad0626d /proc.cpp
parenta92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (diff)
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/proc.cpp b/proc.cpp
index 76fb7a69..0d959fe4 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -566,8 +566,9 @@ void proc_fire_event( const wchar_t *msg, int type, pid_t pid, int status )
event.arguments->resize(0);
}
-int job_reap( int interactive )
+int job_reap( bool interactive )
{
+ ASSERT_IS_MAIN_THREAD();
job_t *jnext;
int found=0;