When you edit a post after it gets closed it ends up in re-open review queue which is performed by high rep users, not moderators. I guess they found no reason to re-open it so it remained closed.
Looking at your original question, it was a bit unclear what problem you were trying to solve which I guess is why it got closed to begin with.
Someone pointed out a few simple mistakes in an answer, after which you edited the question to fix those problems. Don't do that! You've now rendered that answer senseless - you shouldn't make edits that renders posted answers obsolete. Ask a new question instead, with the changes integrated.
And since then you've done even more radical changes to the question again. This isn't fair to the person who posted the original answer. This is where we would typically rollback your changes. However, the question is now closed so there's no point in polishing it unless it gets re-opened. And a rollback would bring it back to the previous state. So I think the question should remain closed since we can't salvage it, because it has an answer and you made radical edits after that.
What you can do is to copy the contents of this question and ask a new question. However, you need to clarify:
- What is the actual problem you are trying to solve with this strange code? Are you trying to create a home-brewed multi-thread system, some type-generic programming, some position-independent code or what?
- You are using non-standard extensions, so clarify which compiler and system you are using. It appears to be gcc and in case it is running on Arduino, you aren't actually using C but C++, which makes a big difference.
Unrelated to your question, this whole code is completely senseless on an 8-bit bare metal microcontroller embedded system. Such systems shouldn't use heap allocation, multi-threading nor should they return from main(). If your intended target is Arduino, I would strongly recommend to forget the whole thing.