Just a quick question. Is there a “lock” node in blueprints currently? I don’t think there is, but asking to make sure. By “lock” node, I mean a standard atomic lock/operation ability, where by 2 threads can lock each other out, and have guaranteed exclusive access to an object.
I don’t think this exists, because well I couldn’t find a node for it, two I could not prove to myself that there was an issue with it (say, there is processing in Tick Event, and there is processing for Overlap object, both of which could fire at the same time, as they would look like external interrupts to the blueprint, as the tick time, and overlap event cannot be predicted). As I made sure that the amount of mutual objects between the two (tick and overlap) was kept to a minimum, but I do have one place, where it can occur, probably lasts for a few nano seconds, but it can happen.
So I was just curious, and if there is not a “lock” node, I would definitely vote for one! Thus allowing me to start thinking in that fashion, and if Epic Games ever moves to a paralyzing compiler, well then heck, I’m already good to go, so just bring it on!
Frankly I would love it, idle threads being used? , sounds like a good time to me!
Thank you for your attention.