Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tags in this Discussion

TBB-based CpuDispatcher?
  • Hi!

    We're using Intel TBB as a general-purpose task manager in our project. Since it already has a full thread pool with it, adding PhysX own task manager leads to overthreading. So we want to implement a TBB-based pxtask::CpuDispatcher and thus reuse worker threads.

    The question is, has anyone done it before? CpuDispatcher::flush() requirement to be able to wait until specific refcount is reached, while processing other tasks, seems quite tricky to implement in TBB.
  • 1 Comment sorted by
  • Solution: use PhysX 3.1. CpuDispatcher::flush() has been introduced in 3.2.