类似地,|| 控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
仅当另一个命令返回非零退出状态时才运行某个命令。
Run a command only if another command returns a non-zero exit status.
应用推荐