Semaphores in Java JVM processing and controlling of Thread -
my question regarding semaphores.. please can 1 explain me concept behind semaphores? have understood basic of it. still not able figure out why semaphore class implements serializable.
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/semaphore.html
public class semaphore extends object implements serializable
please try answer question in depth, using how jvm handles multimple threads , how semaphore controls it.
use links semaphore example.
http://www.javacodegeeks.com/2012/10/locking-with-semaphore-example.html
Comments
Post a Comment