Export to GitHub

jsr-305 - issue #6

For some classes, some methods are thread safe, but others not.


Posted on Jan 27, 2009 by Helpful Horse

Currently ThreadSafe has a Target of TYPE, however and additional type of METHOD should be useful for complex situations (which are the sort of thing you want to docuement)

An example,

I have a class which is thread safe, however I want the ability to shutdown/close the resource even if it is locked by another thread. This method is inherently NOT thread safe as I don't want the closing thread to get blocked. This should be documented and handled with care.

Status: New

Labels:
Type-Defect Priority-Medium