1. A method, comprising: creating a thread and identifying that said thread makes use of an accelerator; receiving from a processor that has said accelerator an amount of storage space for storing said accelerator's context; created allocated storage space by allocating said amount of storage space; executing said thread on said processor and utilizing said accelerator so as to create context information of said accelerator for said thread; in response to a decision to place said thread in an inactive state, storing said context information in said allocated storage space.