Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Categories
- All Discussions1,524
- General534
- Graphics109
- GPU Computing419
- Mobile141
- Pro Graphics163
- Tools158
In this Discussion
- ilookha February 13
Tags in this Discussion
- physx 272
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.