dynamic tpadvertise / tpunadvertise from server threads
The implementation could do following:
- In case if tpadvertise comes not from the main thread, perform the self-admin-msg call with details about service names / function / pointer
- Additionally send pointer to conditional variable which should be triggered when advertise is finished
- when main thread receives such message, it shall perform necessary service tpadvertise/tpunadvertise
- when finished it shall trigger the conditional variable to wake up the thread waiting for finishing this adv func.