laforge49/JActor — Issue #16: API Change: Make Open a Request
Author: laforge49
Created: 2012-03-04 04:53:13+00:00
State: open

JBActor calls the open(Internals) method the first time a non-initialization method is received. This is not thread safe, so we have a choice between making open an explicit request or using a synchronization lock. An ugly choice.

JActor does not use locks and that's important for performance, so we need to make open an initialization request. That's a big change and not a very good one, as it adds a line of code everywhere an actor is created. But necessary, methinks.

Initialization is always such a mess.