go top

唤醒锁

网络释义

  WakeLock

先看看什么是对齐唤醒机制,以前讲过,Android为了确保应用的正确执行,提供了Wakelock唤醒锁)的API,你可以把它看作是个定时器,它能定时把系统唤醒。系统被唤醒后,需要经过一段时间才能再次进入睡眠状态。

基于68个网页-相关网页

  wake locks

为了确保MediaPlayer的承载的服务在系统睡眠的时候继续正常运行下去,Android为我们提供了一种唤醒锁(wake locks)的机制。它可以在系统睡眠的,依然保持锁定硬件的正常工作。

基于60个网页-相关网页

有道翻译

唤醒锁

Wake lock

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 如果超时时间段结束时还没有唤醒读线程需要唤醒自身释放互斥

    If not awake otherwise, at the end of the timeout, the reader needs to wake itself up and release the mutex.

    youdao

  • 虽然旋转cpu密集型的,显得效率低下,但是如果争夺持有时间非常,那么旋转要比暂挂线程然后唤醒有效率

    While spin locks are CPU-intensive and appear inefficient, they can be more efficient than suspending the thread and subsequently waking it up if the lock in question is held for a very short time.

    youdao

  • 拥有线程离开临界区的时候,挂起的线程需要被重新唤醒,然后重新调用,交换上下文回到CPU调度中。

    When the thread that has the lock leaves the critical section, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定