P
Paul Tomblin
Does java have a "built-in" class to do thread locking like a database
does? I want to maintain data consistency, so if a reader is working, no
writer can start but other readers can, and if a writer is working no
readers or writers can start. Is there something like that in the class
library already? Or should I write my own?
does? I want to maintain data consistency, so if a reader is working, no
writer can start but other readers can, and if a writer is working no
readers or writers can start. Is there something like that in the class
library already? Or should I write my own?