Community
cancel
Showing results for 
Search instead for 
Did you mean: 
registered_user
Beginner
56 Views

Bug in vm_set_current_thread_priority()

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
56 Views

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

Vladimir

Reply