ประโยคภาษาจีน : 中文句子 |
---|
gèng hǎo 更好 de 的 zuò fǎ 做法 shì 是 dìng yì 定义 lìng 另 yí gè 一个 fāng fǎ 方法 tā 它 jiē shōu 接收 yí xì liè 一系列 zhěng shù 整数 zhǐ 只 huò qǔ 获取 bìng 并 shì fàng 释放 hù chì 互斥 suǒ 锁 yí cì 一次 |
A far better approach would be to define another method that accepts a list of integers and acquire and release the mutex only once. |