Advanced contracts with Time locks 时间锁定的高级智能合约
However, it will take some time for the company to fix the new locks on all of its bikes.
不过,该公司还需要一些时间来修复所有自行车上的新锁。
Because the database manager can determine when a row is changed, it can ensure data integrity while limiting the time that locks are held.
由于数据库管理器能够确定某一行何时会被修改,因此可以保证数据完整性,同时限制持有锁的时间。
This presents a problem for JVM implementers: if locks are only held for a short time, then spinning is more efficient; if locks are held for a long time, then suspension is more efficient.
这向JVM实现人员提出了一个问题:如果锁只被持有很短的时间,那么旋转会更有效率;如果锁持有很长时间,那么暂挂会更有效率。
应用推荐