Lines Matching refs:pgrp
46 rt_err_t lwp_pgrp_critical_enter(struct rt_processgroup *pgrp, int flags);
47 rt_err_t lwp_pgrp_critical_exit(struct rt_processgroup *pgrp);
52 #define PGRP_ASSERT_LOCKED(pgrp) RT_ASSERT(rt_mutex_get_owner(&(pgrp)->mutex) == rt_thread_self()) argument
82 #define PGRP_LOCK(pgrp) \ argument
86 if (lwp_pgrp_critical_enter(pgrp, 0) != RT_EOK) \
92 #define PGRP_LOCK_NESTED(pgrp) \ argument
96 if (lwp_pgrp_critical_enter(pgrp, LWP_MTX_FALGS_NESTED) != RT_EOK) \
102 #define PGRP_UNLOCK(pgrp) \ argument
105 if (lwp_pgrp_critical_exit(pgrp) != RT_EOK) \
144 #define PGRP_LOCK(pgrp) rt_base_t level = rt_hw_interrupt_disable() argument
145 #define PGRP_UNLOCK(pgrp) rt_hw_interrupt_enable(level) argument