Are event parallel processes "good enough"?

The existing parallel processing functionality for events is done like

for each event update event interpreterAnd that's how parallel processing is done: each interpreter does something every update, and it just so happens that during every update, the game also updates all its graphics and input, etc.So during every update, it looks like each event is doing something.

If there's a really heavy process going on, like a common event calculating hit collision, it would basically just slow down the game for the most part.

Can we do better?
I'm not sure what else we can do...

The interpreter already runs on a fiber and I'm pretty sure actual multithreading is out of the question.

I think our best bet is to make sure our logic is running in state-machine fashion.  For instance, in your example the collision detection might only check a small number of objects per update, then continue its work on the next update.  When it finally completes it can call some other delegate, or set some flag, to initiate (or indicate the need to initiate) the finalizing process.

This makes all of our long-running processes asynchronous, but it works nicely with the underlying game engine and doesn't kill performance.  The only question is whether or not we can finish our process in a reasonable number of game updates so that we can still interact with the player in a timely fashion.  But I think that comes down more to what our process does and/or the limitations of the game engine in general.
I was wondering this same thing. I haven't found any real multi threading so far in RGSS3. Especially with duo/quad cores you want the possibility of running it on a separate cpu core on it's own speed regardless of ingame framerate.

It was a while ago when I looked into it and I might be saying something dumb but:

t1=Thread.new{1000000.times{p 'hi'}}doesn't work because Ruby waits for the thread to finish before proceeding with the next line of code...
If I do this

Code:
a = Thread.new {  1000.times {  p 1 }}b = Thread.new {  1000.times {  p 2 }}SceneManager.run
You can see it printing 1's and 2's whenever they want.
I don't think it matters... even with a proper multithreading model, I doubt the core game objects (especially anything graphics related) are designed to be thread safe.  You'd almost certainly end up destabilizing the game process as soon as you started referencing game objects across threads.
What if we are talking specifically about events or common events?
I still don't think it matters... in order to provide any level of multithreading we would have to rewrite the entire core engine to support it.

While Ace does a much better job of separating concerns within its object model than VX did, it's still relying on some key global variables and static objects (everything that starts with "$game_" and all of the "Manager" modules).  This makes it impossible to isolate any given block of code for execution in a secondary thread.  It would be far too easy for a chain of method calls starting on the secondary thread to end up calling methods of a static object which has assigned resources on the primary thread.  This is especially true of the Game_Interpreter class when you consider all of functionality it provides and the number of modules and classes it touches.  You would have to ensure that every method call out of the interpreter which could result in a graphic update was delegated back to the main thread for execution.  That's a lot of method calls to handle, and a difficult task to find them.

Like I say, from what I've seen of the engine I think it would require a complete rewrite of most of the core classes to make multithreading work without destabilizing the process.

Original thread: https://forums.rpgmakerweb.com/threads/are-event-parallel-processes-good-enough.18420/