Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Bug in vm_set_current_thread_priority()

registered_user
Beginner
253 Views
obviously having declaration of

typedef enum
{
VM_THREAD_PRIORITY_HIGHEST,
VM_THREAD_PRIORITY_HIGH,
VM_THREAD_PRIORITY_NORMAL,
VM_THREAD_PRIORITY_LOW,
VM_THREAD_PRIORITY_LOWEST
} vm_thread_priority;

this is just not correct:

void vm_set_current_thread_priority(vm_thread_priority priority)
{
SetThreadPriority(GetCurrentThread(), (int)priority);
}

please fix it in the next version.

ru.
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
253 Views

Thanks for pointing to that. We will fix the issue.

Vladimir

0 Kudos
Reply