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

http://javapapers.com/core-java/semaphores-using-java/


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -