diff options
author | 2013-01-30 02:22:38 -0800 | |
---|---|---|
committer | 2013-01-30 02:22:38 -0800 | |
commit | 1879dc4b595e1209d2c7ea159fb6e37287edd520 (patch) | |
tree | 2a0d5a50760a2554bc8a399997ad7cfa96af704f /proc.h | |
parent | ea8c6bc15ebd973f41b33a103b1e63cc9a772058 (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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |