更好的做法是定义另一个方法,它接收一系列整数,只获取并释放互斥锁一次。
A far better approach would be to define another method that accepts a list of integers and acquire and release the mutex only once.
该参数定义数据库管理器执行升级之前必须填入的应用程序所占有锁列表的百分比。
This parameter defines a percentage of the lock list held by an application that must be filled before the database manager performs escalation.
在使用ONLINE关键字时,DDL操作是在没有将排它锁应用于定义特定索引表的情况下执行的。
When you use the ONLINE keyword, DDL operations execute without applying an exclusive lock to the table on which the specified index is defined.
例如,清单7中的接口定义用于配置应用程序的文件锁的字段。
For example, the interface in Listing 7 defines fields for configuring an application's file locks.
如果超过了最大读锁数量(由实现定义),pthread_rwlock_rdlock可能会失败。
pthread_rwlock_rdlock may fail if the maximum number of read locks (implementation defined) for the lock has been exceeded.
根据创建数据库所使用的数据定义语言 (DDL)模式文件,可以确定正在使用的锁类型。
You can determine the types of locks being used from the Data Definition Language (DDL) schema files used to create the database.
另一个例子是优先级继承,它是一种锁定策略,定义了锁竞争时如何管理锁同步。
Another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.
MAXLOCKS定义了应用程序持有的锁列表的百分比,在数据库管理器执行锁升级之前必须填充该锁列表。
MAXLOCKS defines a percentage of the lock list held by an application that must be filled before the database manager performs lock escalation.
定义了自旋锁之后,就可以使用大量的锁定变量了。
Now that you have a spinlock defined, there are a number of locking variants that you can use.
按照我们的iOS锁屏自定义教程,我可以在十分钟内完成自定义全过程。
Following our iOS lock screen customization tutorial, I was able to put one together in under 10 minutes.
VM有时候也会调用Core(例如定义一个方法)请求Core锁,但是大多数时候它都是并行执行的。
The VM sometimes calls the Core (when defining a method for example) which acquires the Core lock, but most of the time it just runs concurrently.
锁模式和锁对象类型都定义在sqlmon . h包含文件中,该文件将有助于破解表函数返回的数值当量(numerical equivalent)。
Lock modes and lock object types are defined in the sqlmon.h include file, which will help you to decipher the numerical equivalents that the table function returns.
创建一个db2表(在下文中称为锁表(locktable)),它定义与会话锁定相关的资源。
Create a DB2 table (hereafter referred to as lock table) to define the resources related to session locking.
当你创建了一些可以被并发访问的资源时,你也应该定义用于控制资源访问的锁。
When you create a resource that can be accessed concurrently, you should define which lock will control that access.
而且查询操作的锁不可能在对象内部,因为根据定义,你还不知道这是什么对象,你在尝试寻找它。
And the lock for the lookup operation cannot be in the object, because - by definition - you don't know what the object is! You're trying to look it up, after all.
您还可以定义锁先生在其中将启用配置文件。
You can also define the profiles in which Mr Lock will be enabled.
通常这意味着控制在基本控制定义,所以你不能在派生的控件改变它们(它们都是锁着的)。
Normally this means that the controls are defined in the base control and so you cannot change them in the derived control (so they are all locked).
另外,我们可以定义我们想要的旋转锁数量,来守护我们想要得共享资源。
Furthermore, we can define as many spin locks as we want, to guard as many Shared resources as we want.
这个参数定义了什么是被锁。
这些指令的特点是我们必须定义alu操作数和ALE(地址锁存允许)运算,除了两个例外:乘法和除法。
Main characteristic of these instructions is that we have to define both ALU operands and ALE operation. Exceptions among these instructions are mul (multiply) instruction div (divide) instruction.
互斥锁也处于未定义状态,不能被获取,必须重新初始化。
The mutex is in an undefined state (and cannot be locked) and must be reinitialized.
用户自定义选项包括喷漆和覆金属面,电子锁和发生电源故障后的选择以及一些独特的配置。
Custom options include painted and metal-clad finishes, electric lock and power-fail options, and unique configurations.
选择你最喜欢的主题,自定义锁屏。
带:自定义注入聚氨酯具有专利锁活套。
Band: Custom Injected Polyurethane With Patented Locking Looper.
带:自定义注入聚氨酯具有专利锁活套。
Band: Custom Injected Polyurethane With Patented Locking Looper.
应用推荐