Searched refs:SH_MONITOR (Results 1 – 15 of 15) sorted by relevance
215 sh_onoption(SH_MONITOR); in sh_main()428 sh_offoption(SH_MONITOR); in exfile()431 sh_offstate(SH_MONITOR); in exfile()453 sh_offstate(SH_MONITOR); in exfile()503 sh_offstate(SH_MONITOR); in exfile()509 sh_offstate(SH_MONITOR); in exfile()510 if(sh_isoption(SH_MONITOR)) in exfile()511 sh_onstate(SH_MONITOR); in exfile()
678 int was_monitor = sh_isstate(SH_MONITOR); in sh_exec()693 sh_onstate(SH_MONITOR); in sh_exec()1186 sh_offstate(SH_MONITOR); in sh_exec()1189 sh_offstate(SH_MONITOR); in sh_exec()1254 if(!sh_isoption(SH_MONITOR)) in sh_exec()1269 if(!sh_isoption(SH_MONITOR)) in sh_exec()1303 if((type&FINT) && !sh_isstate(SH_MONITOR)) in sh_exec()1314 sh_offstate(SH_MONITOR); in sh_exec()1507 job.waitall |= !pipejob && sh_isstate(SH_MONITOR); in sh_exec()1549 if(!pipejob && sh_isstate(SH_MONITOR)) in sh_exec()[all …]
216 sh_offoption(SH_MONITOR); in sh_subfork()217 sh_offstate(SH_MONITOR); in sh_subfork()546 sp->monitor = (sh_isstate(SH_MONITOR)!=0); in sh_subshell()548 sh_offstate(SH_MONITOR); in sh_subshell()600 sh_onstate(SH_MONITOR); in sh_subshell()
73 SH_KEYWORD, SH_MONITOR, SH_NOEXEC, SH_PRIVILEGED, SH_SFLAG, SH_TFLAG,812 if(monitor = (sh_isstate(SH_MONITOR)!=0)) in sh_argprocsub()813 sh_offstate(SH_MONITOR); in sh_argprocsub()827 sh_onstate(SH_MONITOR); in sh_argprocsub()
514 if(!shp->subshell && sh_isstate(SH_MONITOR) && !sh_isstate(SH_STOPOK)) in sh_exit()520 sh_onstate(SH_MONITOR); in sh_exit()541 sh_offstate(SH_MONITOR); in sh_exit()
599 sh_onoption(SH_MONITOR); in job_init()617 else if(!possible && (!sh_isstate(SH_MONITOR) || sh_isstate(SH_FORKED))) in job_close()1193 if(sh_isstate(SH_MONITOR)) in job_post()
52 # undef SH_MONITOR53 # define SH_MONITOR 0 macro
62 #define SH_MONITOR 4 /* used also as a state */ macro
83 "monitor", SH_MONITOR,
71 #define SH_MONITOR 4 /* used also as a state */ macro
201 sh_offstate(SH_MONITOR); in b_eval()416 if(!sh_isoption(SH_MONITOR) || !job.jobcontrol) in b_bg()
911 if(sh_isoption(SH_MONITOR)) in b_set()912 sh_onstate(SH_MONITOR); in b_set()914 sh_offstate(SH_MONITOR); in b_set()