maximelovino / JavaCrush

0 stars 0 forks source link

All threads work on copy of tab #25

Open maximelovino opened 7 years ago

maximelovino commented 7 years ago

Threads do the check on a copy of the tab, and modify the real tab.

Lock around the copy operation, or barrier after the copy.

Methods to modify tab must be synchronized.

maximelovino commented 7 years ago

Would help with the h/v cross of matches