JKISoftware / JKI-State-Machine-Objects

Object-oriented framework for LabVIEW based on the JKI State Machine
BSD 3-Clause "New" or "Revised" License
95 stars 54 forks source link

"Register Process" should be re-entrant #81

Closed francois-normandin closed 2 years ago

francois-normandin commented 2 years ago

Describe the bug Register Process should be re-entrant

Expected behavior The registration of SMO processes is a call that waits for the children process override to create its process notifier before releasing the resource for the upper level to register. In a single process, reentrancy does not have any impact on the execution speed, however it could degrade the start-up time of siblings .

The VI waits for child to have created its registration, so modification from non-reentrant to reentrant should have no impact on any deployed code. The node is not overridable and is protected scope.

image