answersLogoWhite

0

Recursive locks (also called recursive thread

mutex) are those that allow a thread to recursively acquire the same lock that it is

holding. Note that this behavior is different from a normal lock. In the normal case if

a thread that is already holding a normal lock attempts to acquire the same lock again,

then it will deadlock. Recursive locks behave exactly like normal locks when another

thread tries to acquire a lock that is already being held. Note that the recursive lock is

said to be released if and only if the number of times it has been acquired match the

number of times it has been released by the owner thread. Many operating systems do

not provide these recursive locks natively. Hence, it is necessary to emulate the

behavior using primitive features like mutexes (locks) and condition variables.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is recursive association?

a recursive association - as a aggregation is a special form of association, so recursive aggregation can be called as recursive association ... AKASH SISODIYA ......IT ...


What is set difference between recursive and recursively enumerable but not recursive?

All recursive Languages are recursively enumerable. But not all the recursively enumerable languages are recursive. It is just like NP complete.


What does the word recursive mean?

Something that is recursive is something that repeats.


Are all recursive programs non recursive?

None of them is, obviously.


What is the definition of recursive?

The term recursive refers to the recurrence or repetition.


Is 4 9 19 39 79 159 recursive?

no it is not recursive


What does recursive mean?

Recursive refers to using a rule or procedure that can be applied repeatedly.


What is the difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.


Why recursive solution is better for tree traversal?

Because a tree is a recursive data-structure. It's easier to write (and easier to understand) a recursive program for handling it.


What is a recursive relationship?

a function that recalls itself again and again is called recursive relationship.


How can you use recursive in a sentence?

"Computer programs often use recursive subroutines to repeat operations." "The goal recursive model of the Tower of Hanoi was identified by Nowell and Simon."


Is macro a recursive function?

If you're asking if the c preprocessor supports recursive macros, the answer is no. The preprocessor is single-pass and since the "function" must be defined before it can be referenced, it can not be recursive.

Trending Questions
What is Loss of resistance technique? What special tasks can robots do? What should you do if your daughters mouse keeps rolling over and over and you think it is dying? If the excitation of generator changes what happens to the terminal voltage? What is the average salary for a service engineer job? How can a 110 volt table saw be rated 4 horsepower at 15 amps? What is the definition of old 3 wythe load bearing brick walls? What skills are needed to be a computer engineer? What are examples of end products of technical writing? Will there be a current flow if the resistor burn out which is connected in series? Your Aieee state rank is 1220 and all India rank is 27000 and you are from haryana and can you get into any NIT? Can you still be good at physics and engineering if you are not good at computer programming in terms of writing code in every programming language and biology? Why do you get the error in VB6 Compile error Expected then an equals sign on this code MsgBoxmsg buttons title PS I already defined the variables msg buttons and title and they are in brackets? What type of motor is used in ac servometer? What are the Example each for self induced and mutually induced emf? Difine the formation of p and n type semiconductors? Europe 3 phase motor wiring how to go to low voltage 230 volt AC Currently wired w2 u2 and v3 tied together with w1 u1 and vi to line for 460 voltage Y How do you wire for low voltage? A lever of a machine worked by using the foot that start with trea? What are OSHAs electrical standards are based on? Why do robots need to look like humans?