aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-30 02:22:38 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-30 02:22:38 -0800
commit1879dc4b595e1209d2c7ea159fb6e37287edd520 (patch)
tree2a0d5a50760a2554bc8a399997ad7cfa96af704f /proc.h
parentea8c6bc15ebd973f41b33a103b1e63cc9a772058 (diff)
Initial set of changes working to make fish robust against running out of file descriptors
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/proc.h b/proc.h
index a97ccbd9..2d09b751 100644
--- a/proc.h
+++ b/proc.h
@@ -141,9 +141,9 @@ private:
public:
process_t();
-
~process_t();
+
/**
Type of process. Can be one of \c EXTERNAL, \c
INTERNAL_BUILTIN, \c INTERNAL_FUNCTION, \c INTERNAL_BLOCK,
@@ -453,12 +453,12 @@ extern int no_exec;
/**
Add the specified flag to the bitset of flags for the specified job
*/
-void job_set_flag(job_t *j, int flag, int set);
+void job_set_flag(job_t *j, unsigned int flag, int set);
/**
Returns one if the specified flag is set in the specified job, 0 otherwise.
*/
-int job_get_flag(const job_t *j, int flag);
+int job_get_flag(const job_t *j, unsigned int flag);
/**
Sets the status of the last process to exit
@@ -515,7 +515,7 @@ int job_is_completed(const job_t *j);
\param j The job
\param cont Whether the function should wait for the job to complete before returning
*/
-void job_continue(job_t *j, int cont);
+void job_continue(job_t *j, bool cont);
/**
Notify the user about stopped or terminated jobs. Delete terminated