Files
salmanoff/smocore/include
hayodea da0ef64f62 Split CompThread=>MindThr+MrnttThr; alloc globalMind in mrnttMain
We now allocate globalMind locally inside of marionetteMain. Why?

Before now, we had an asymmetric threading situation where the
globalMind's threads were initialized at during global constructor
invocation and not on demand. This meant that we had to shut down
those threads even if we had never got to the point of calling
Mind::initializeReq.

This significantly complicated our shutdown sequence since we had
to factor in the lifetime of the std::thread objects inside of the
ComponentThreads which were inside of the globalMind object.

Now, if we hadn't called Mind::initializeReq, we don't have to
perform any Mind::finalizeReq or adjacent operations. Shutdown is
symmetrically mirrored against the operations we actually performed
during execution.

We introduced some complexity by splitting ComponentThreads into
two derivative types (MindThread and MarionetteThread) but I think
in the long term we'll be able to massage this split into a much
cleaner situation overall.
2025-09-14 11:07:05 -04:00
..
2025-07-22 06:48:04 -04:00
2025-07-22 06:48:04 -04:00
2025-07-22 06:48:04 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-09-02 17:01:47 -04:00
2025-08-15 09:43:38 -04:00
2025-07-22 06:15:12 -04:00
2025-08-29 16:12:30 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00
2025-07-22 06:15:12 -04:00