I got the assertion failure mentioned in the title when calling parallel_for from a separate thread. The parallel_for loop is inside a dll that initializes a task_scheduler_init object and a .net application calls processing routines from this dll using .net thread pool.
Do I need to initialize a task_scheduler_init object for every thread I create ? If someone can enlighten me on this topic, I would appreciate :)
assert failed - thread has not activated a task_scheduler_init object