Skip to content

Tag: locking

Simple Java name based locks?

MySQL has a handy function: SELECT GET_LOCK(“SomeName”) This can be used to create simple, but very specific, name-based locks for an application. However, it requires a database connection. I have …