• LotusScript设计线程安全意味着使用信号量保护数据结构从而保护装载每个LotusScript实例

    LotusScript is designed to be thread-safe, which means it USES semaphores to protect data structures so that each loaded instance of LotusScript is protected.

    youdao

  • args这个信号数据结构通过IPC_SET来更新(这个例子中会有解释)。

    Args are the values to be updated in the semaphore set data structure through this IPC_SET (explained in the sample).

    youdao

  • 为了信号量数据结构进行初始化,可以使用IPC_SET命令调用semctl系统调用。

    In order to initialize the semaphore-set data structure, use the semctl system call with the IPC_SET command.

    youdao

  • 这个命令将立即删除信号及其数据结构并唤醒所有正在等待进程(如果发生错误,则返回将errno设置EIDRM)。

    This command immediately removes the semaphore set and its data structures, awakening all waiting processes (with an error return and errno set to EIDRM).

    youdao

  • 进程排队等待访问这个数据结构,在这个信号可用之前会一直阻塞。

    The writer process (es) lines up to access the data structure, and is held back until the semaphore is made available.

    youdao

  • 进程排队等待访问这个数据结构,在这个信号可用之前会一直阻塞。

    The writer process (es) lines up to access the data structure, and is held back until the semaphore is made available.

    youdao

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

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

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