The point is that I don't want to **explicitly** declare a lock variable in 
globals.

I want write something that whenever I use lockBlock, it **implicitly** create 
a lock variable and automatically acquire lock and release lock.

Reply via email to