StackOverflow Questions for Tag: reentrantlock

adhg
adhg

Reputation: 10893

Why use a ReentrantLock if one can use synchronized(this)?

Score: 401

Views: 201408

Answers: 9

Read More
Hodiya Eyal
Hodiya Eyal

Reputation: 73

Can i modify ReentrantLock so one can use it with try with resources?

Score: 0

Views: 365

Answers: 2

Read More
Chintamani Chourase
Chintamani Chourase

Reputation: 1

how reentrant locks ensures mutual exclusion?

Score: -1

Views: 39

Answers: 1

Read More
Machi
Machi

Reputation: 435

ConditionObject of ReentranentLock: fields are not decorated as volatile

Score: 0

Views: 58

Answers: 1

Read More
tarekahf
tarekahf

Reputation: 1002

How to release Java ReentrantLock after sometime no matter what

Score: 0

Views: 995

Answers: 2

Read More
f.k
f.k

Reputation: 85

Java locks: Hand over hand locking through list

Score: 1

Views: 4283

Answers: 1

Read More
vitaminC
vitaminC

Reputation: 3

Not able understand tryLock method while executing program

Score: 0

Views: 72

Answers: 1

Read More
mattsmith5
mattsmith5

Reputation: 1153

Java: Program to allow people through a Gate

Score: 1

Views: 71

Answers: 1

Read More
Openeye
Openeye

Reputation: 43

How to handle multiple threads efficiently / only perform a load operation once for all queued up load calls?

Score: 1

Views: 157

Answers: 1

Read More
Shengjie
Shengjie

Reputation: 12796

java.concurrent.ReentrantLock - why we want to acquire the same lock multiple times

Score: 10

Views: 7662

Answers: 4

Read More
Cliser
Cliser

Reputation: 1

Java ReentrantLock by ID

Score: 0

Views: 320

Answers: 2

Read More
Andrey Mironov
Andrey Mironov

Reputation: 91

Java Fair Reentrant lock isn't fair in multiple iterations

Score: 6

Views: 98

Answers: 1

Read More
crazyStart
crazyStart

Reputation: 127

Producer Consumer using ReentrantLock and Queue

Score: 0

Views: 1115

Answers: 1

Read More
aman goyal
aman goyal

Reputation: 301

Never ending read request.! Reentrant Lock

Score: -1

Views: 37

Answers: 1

Read More
Neeraja Gandla
Neeraja Gandla

Reputation: 117

Reentrantlock - Why do we need to acquire a lock multiple times?

Score: 5

Views: 4030

Answers: 2

Read More
jlaufer
jlaufer

Reputation: 177

Can a reentrant lock work in conjunction with a synchronized block?

Score: 0

Views: 133

Answers: 1

Read More
Sriharsha g.r.v
Sriharsha g.r.v

Reputation: 510

Is lock.tryLock() thread Safe?

Score: 0

Views: 713

Answers: 1

Read More
user171780
user171780

Reputation: 3115

Share RLock between multiple instances of Python with multiprocessing

Score: 1

Views: 908

Answers: 2

Read More
Expotr
Expotr

Reputation: 49

Pattern that offers mutual exclusion, re-entrancy, distributed locking towards one (of many) APIs with HttpClient

Score: 0

Views: 311

Answers: 0

Read More
Senthil Kumar
Senthil Kumar

Reputation: 3

Is Reentrant Lock a Object level lock or Class level lock?

Score: -1

Views: 501

Answers: 1

Read More
PreviousPage 1Next