Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Better call than _beginthreadex()?

postaquestion
Beginner
294 Views

My Windows application accepts a packet and then spawns a thread to process the packet. I have been using the _beginthreadex() call to spawn the thread.

Now that I've switched to the Intel Compiler with it's parallel processing/openmp capabilities, is there a better call for me to make to spawn my threads so they might work better and take advantage of the compiler and CPU(s)?

0 Kudos
1 Reply
JenniferJ
Moderator
294 Views

Thisshould work fine.

But you have to use a tool to find out the performance issue. You can use Intel Threading Profiler to tune the app. There's another lib (thread building block from Intel) that might be helpful. More info is at http://www3.intel.com/cd/software/products/asmo-na/eng/threading/219785.htm.

Jennifer

0 Kudos
Reply