|
 Rank: Advanced Member
Joined: 11/8/2017 Posts: 3,446 Neurons: 12,601
|
Is 'grant' like 'give'?
The second approach for preventing deadlocks is to use preemption and transaction rollbacks. In preemption, when a transaction Tj requests a lock that transaction Ti holds, the lock granted to Ti may be preempted by rolling back of Ti, and granting of the lock to Tj. Back to top
|
|
 Rank: Advanced Member
Joined: 9/19/2011 Posts: 15,278 Neurons: 73,066
|
Tara2 wrote:Is 'grant' like 'give'?
The second approach for preventing deadlocks is to use preemption and transaction rollbacks. In preemption, when a transaction Tj requests a lock that transaction Ti holds, the lock granted to Ti may be preempted by rolling back of Ti, and granting of the lock to Tj. Back to top
The short answer is, Yes. Grant is usually used as an official type of giving, such as legal documents, but for your purpose here, it is the same as "give", or "given".
|
|
 Rank: Advanced Member
Joined: 11/8/2017 Posts: 3,446 Neurons: 12,601
|
FounDit wrote:Tara2 wrote:Is 'grant' like 'give'?
The second approach for preventing deadlocks is to use preemption and transaction rollbacks. In preemption, when a transaction Tj requests a lock that transaction Ti holds, the lock granted to Ti may be preempted by rolling back of Ti, and granting of the lock to Tj. Back to top
The short answer is, Yes. Grant is usually used as an official type of giving, such as legal documents, but for your purpose here, it is the same as "give", or "given". Thank you so much!!!
|
|
 Rank: Advanced Member
Joined: 7/8/2010 Posts: 23,708 Neurons: 96,171
|
It is not just official, but it is giving from a position of power.
ie if you give money for goods in a shop, you are not granting them money.
Someone (or a part of the computer system) that has power to do things, can give things, grant things. So for example, in folk tales a genie grants wishes (because the genie has the power to do that, and normal people do not have that power). An official may grant you permission to do something - because the official has the power to let you do that or forbid you from doing that. A student may be given 'a student' grant' from the governent, which is money to pay for them to live and eat while they are at university. A researcher may be given a grant - some money - by a university or a research board, to be able to work on a project.
Here, that process in the computer has the power.
A makes a request. B grants the request or refuses the request. Two options, with the outcome dependent on the algorithm in the programme. It gives A permission, or it refuses A permission. So B 'gives' something where it has the power, it has the control.
|
|
 Rank: Advanced Member
Joined: 11/8/2017 Posts: 3,446 Neurons: 12,601
|
thar wrote:It is not just official, but it is giving from a position of power.
ie if you give money for goods in a shop, you are not granting them money.
Someone (or a part of the computer system) that has power to do things, can give things, grant things. So for example, in folk tales a genie grants wishes (because the genie has the power to do that, and normal people do not have that power). An official may grant you permission to do something - because the official has the power to let you do that or forbid you from doing that. A student may be given 'a student' grant' from the governent, which is money to pay for them to live and eat while they are at university. A researcher may be given a grant - some money - by a university or a research board, to be able to work on a project.
Here, that process in the computer has the power.
A makes a request. B grants the request or refuses the request. Two options, with the outcome dependent on the algorithm in the programme. It gives A permission, or it refuses A permission. So B 'gives' something where it has the power, it has the control.
Many, many thanks for the awesome explanations!!!
|
|
Guest |