I've got 2 threads which start by 2 boot threads. Later on threads talks to each other with semaphors, this works fine.
In next case I got same 2 threads but only one boot thread. first one with help VDK_CreateThreadEx(&TCB) is creating second. This works fine.
The problem is that now the thread created with VDK_CreateThreadEx(&TCB) do not stop on Pend when should and also do not Post when should or other thread do not see posted semaphore.
Question how to communicate with thread created with VDK_CreateThreadEx(&TCB) from/to main thread using samaphores? Or maybe I should use other solution?