Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6663 Discussions

Bug in vm_set_current_thread_priority()

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

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

Vladimir

Reply