You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way transient memory is handled, is not as expected.
Making two simulator instances and sending commands to each other, right now the state is shared, as transient memory seems to come from a threadlocal for some reason.
The way transient memory is handled, is not as expected.
Making two simulator instances and sending commands to each other, right now the state is shared, as transient memory seems to come from a threadlocal for some reason.
jcardsim/src/main/java/com/licel/jcardsim/base/SimulatorSystem.java
Line 47 in b54b18b
The result is that apple A gets the same state as applet B for transient arrays:
jcardsim/src/main/java/com/licel/jcardsim/framework/JCSystemProxy.java
Line 101 in b54b18b
because the instance() is coming from threadlocal:
jcardsim/src/main/java/com/licel/jcardsim/base/SimulatorSystem.java
Lines 77 to 78 in 3c913e4
What to do (other than have multiple threads), I'd say this is a bug, threading would mean concurrency, but I access to instances sequentially.
The text was updated successfully, but these errors were encountered: