This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple instance of thread function

Hi,

In keil.

void taskThread(void const * arg)
{

}

osThreadDef(taskThread, osPriorityNormal, 1, 2500);

I want to use same function for multiple instance of osThreadId ( for 2 or more threads).

Can I attach function to thread at run-time.

So I can wrap in my C++ thread class and use thread class multiple instance. which can create multiple threads.

Thanks,
Naeem

0