[英语单词] pair; pairs

有名词,也有动词;
pairs,可以是 复数形式,也可以是第三人称的谓语形式;

只有真正见到这样的例子之后,印象才会更深刻。

static void __remove_hrtimer(struct hrtimer *timer,
			     struct hrtimer_clock_base *base,
			     u8 newstate, int reprogram)
{
    
    
	struct hrtimer_cpu_base *cpu_base = base->cpu_base;
	u8 state = timer->state;

	/* Pairs with the lockless read in hrtimer_is_queued() */
	与无锁读入hrtimer_is_queued配对
	WRITE_ONCE(timer->state, newstate);
	if (!(state & HRTIMER_STATE_ENQUEUED))
		return;

Pairs with the lockless read in hrtimer_is_queued()
与无锁读入hrtimer_is_queued配对; 后面的介词也是一个很好的动词标记。

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/132799231
今日推荐