Otherwise, it returns the appropriate error status flag.
否则,就返回适当的错误状态标志。
If the interrupt simulation status flag is set, return EBUSY.
如果设置了中断模拟状态标志,它就会返回EBUSY。
Set the interrupt simulation status flag to indicate that interrupt simulation is in progress.
设置中断模拟状态标志,通知中断模拟正在运行。
Once the interrupts are generated, reset the interrupt simulation status flag and return success.
中断生成之后,就重新设置中断模拟状态标志,并返回成功。
The account status flag can be used by an administrator to temporarily enable or disable the use of that account.
管理员可以使用帐户状态标志临时启用或禁用用户帐户。
Because volatile simplifies the coding, and the status flag does not depend on any other state in the program, this is a good use for volatile.
由于volatile简化了编码,并且状态标志并不依赖于程序内任何其他状态,因此此处非常适合使用volatile。
Because volatile simplifies the coding, and the status flag does not depend on any other state in the program, this is a good use for volatile.
由于volatile简化了编码,并且状态标志并不依赖于程序内任何其他状态,因此此处非常适合使用volatile。
应用推荐