POSIX thread in DPI C

Can we use multiple threads (POSIX pthread) in C code in DPI?
I need to simulate multiple CPU cores communication using C code (DPI-C). Each threads behaves like CPU core (can access registers, and communicate with other cores).

In reply to cuonghle:

You can do anything you want once you get to C, but only the thread initiated by the DPI import can make calls back to a DPI export.

You might want to look at this example.

In reply to prasad:

This Mentor/Siemens EDA sponsored public forum is not for discussing tool specific usage or issues. Please read your tool’s user manual or contact your tool vendor directly for support.