Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

Bug in vm_set_current_thread_priority()

registered_user
Beginner
115 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
115 Views

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

Vladimir

Reply