A computing device includes an operating system that manages an
application and maintains threads relating thereto, where each thread has
assigned attributes and the operating system executes each thread
according to each attribute thereof. An interface process of the
application receives a thread with a request for the application, sets an
attribute of the request/thread to enforce a limitation within the
application, and forwards the request/thread to the application for
further processing in accordance with the limitation to produce a result.
The interface process thereafter receives the same thread with the result
from the application, resets the attribute of the result/thread to remove
the limitation outside of the application, and forwards the result/thread
for delivery to the requester. Thus, the interface process ensures by way
of setting and resetting the attribute on the thread that the limitation
on the application is satisfied.