{{theTime}}

Search This Blog

Total Pageviews

How to test whether the current thread holds the lock on a specified object?

A static method called holdsLock has been added to the Thread class and can be added to the assertion like:

assert Thread.holdsLock(this); 

No comments:

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...