1. A method for controlling a data processing system, comprising: receiving, by an operating system executing on a data processing system, an execution request from an application, the execution request including at least one resource-defining attribute corresponding to an execution thread of the application; allocating processor resources to the execution thread by the operating system according to the at least one resource-defining attribute; and allowing execution of the execution thread on the data processing system according to the allocated processor resources.