Rays of wisdom


Stickies for an ageing brain

Simulating Java

Published by Marian on Thursday, February 23, 2006 8:15 PM

Eventually it did turn out rather fine (with the simulator I mean), but I decided to write my own. In Java. And what I discovered, while working with threads, is this: make some threads, add them as observers to an object, terminate the threads (from the run() method I mean), and still your threads can wake up and do something when someone sends a message through the object observed. This is pretty cool...

0 comments:

Post a Comment

 

Lipsum

Rays of wisdom
Notepad entries by Marian Mihailescu.

Followers