Hmm, interesting. I wasn't aware of this so I did some research. The question is discussed here: http://stackoverflow.com/questions/464784/java-reentrantreadwritelocks-how-to-safely-acquire-write-lock
And there is an implementation here: http://tutorials.jenkov.com/java-concurrency/read-write-locks.html#upgrade -- Noel Grandin Thomas Mueller wrote: > Hi, > >> May I ask how it's currently implemented? Wait/notify? > Yes. java.util.concurrent can't be used because it doesn't support lock > upgrade. > > Regards, > Thomas > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
