Constants for ThreadPriority()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Constants for ThreadPriority()

Post by AND51 »

Similar to NetworkServerEvent() and NetworkClientEvent(), where constants were implemented, how about constants for ThreadPriority?

Code: Select all

#PB_ThreadPriority_Low      = 1
#PB_ThreadPriority_Normal   = 16
#PB_ThreadPriority_High     = 31
#PB_ThreadPriority_Critical = 32
The last constant could also be named "realtime" to better fit the (Window's) taskmanager.
PB 4.30

Code: Select all

onErrorGoto(?Fred)