[jboss-dev-forums] [Design of JBossCache] - Re: markNodeCurrentlyInUse() - race condition

genman do-not-reply at jboss.com
Thu Jan 18 13:07:05 EST 2007


Example situation which demonstrates a race condition. The following situation happens, say if 2 nodes are allowed, 3 nodes are created, and LRU policy is applied.

Visit A - B - C
Mark Node A in use
-- event processing occurs --
Node A evicted ...


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003447#4003447

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003447



More information about the jboss-dev-forums mailing list