Can i open some threads from inside a thread?

I have a Windows service whit 2 different roles. When the service starts, I open 2 threads: one for each role. In each thread I need to open sub threads.

How many threads can I open for each core?