System and method for allocation of threads to user objects in a computer system
First Claim
Patent Images
1. A method, operating on a computer system that uses a plurality of threads, for allocating the threads, the method comprising:
- queuing up work for a first user;
assigning a first thread of the plurality of threads to the first user to perform the queued up work for the first user, the assignment being permanent until the computer system is shut down or an error condition occurs, wherein only the first thread is used to access resources used by the first user and upon the completing the queued up work for the first user, the necessary databases and resources used by the first user remain open for use only by the first thread;
responsive to a determination that the primary database can be opened, opening the primary database and performing operations using the primary database;
responsive to a determination that the primary database cannot be opened, opening a backup database for the first user and performing operations using the backup database; and
responsive to detection of a first error condition comprising a hang-up condition of the first thread, migrating the first user to a second thread.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for allocating threads to a user in a computer system is described. The method comprises queuing up work for a first user and permanently assigning a first thread to the first user, wherein the first thread performs the queued up work for the first user, and wherein each time work is subsequently queued up for the first user, the first thread performs the queued up work for the first user.
30 Citations
3 Claims
-
1. A method, operating on a computer system that uses a plurality of threads, for allocating the threads, the method comprising:
-
queuing up work for a first user; assigning a first thread of the plurality of threads to the first user to perform the queued up work for the first user, the assignment being permanent until the computer system is shut down or an error condition occurs, wherein only the first thread is used to access resources used by the first user and upon the completing the queued up work for the first user, the necessary databases and resources used by the first user remain open for use only by the first thread; responsive to a determination that the primary database can be opened, opening the primary database and performing operations using the primary database; responsive to a determination that the primary database cannot be opened, opening a backup database for the first user and performing operations using the backup database; and responsive to detection of a first error condition comprising a hang-up condition of the first thread, migrating the first user to a second thread.
-
-
2. A system for allocating threads to a user in a server environment that supports a plurality of threads, the system comprising:
-
a server computer; software executable on the server computer to queue up work for a first user; software executable on the server computer to assign a first thread to the first user to perform the queued up work for the first user, the assignment being permanent until the server computer is shut down or an error condition occurs, wherein only the first thread is used to access resources used by the first user and upon completing the queued up work for the first user, necessary databases and resources used by the first user remain open for use only by the first thread; software executable on the server computer, responsive to a determination that the primary database can be opened, to open the primary database and to perform operations using the primary database; software executable on the server computer, responsive to a determination that the primary database cannot be opened, to open a backup database for the first user and to perform operations using the backup database; and software executable on the server computer, responsive to detection of a first error condition comprising a hang-up condition of the first thread, to migrate the first user to a second thread.
-
-
3. A computer system comprising:
-
a host computer; and redirector software executable on the host computer, the redirector software for redirecting data items of a user to the user'"'"'s mobile data communications device (“
MDCD”
),wherein; responsive to work being queued up for the user, the host computer assigns a thread to the user to perform the queued up work for the user, the assignment being permanent until the host computer is shut down or an error condition occurs, only the first thread is used to access resources used by the first user and upon completing the queued up work for the first user, the necessary databases and resources used by the first user remain open for use only by the first thread; responsive to a determination that the primary database can be opened, the host computer opens the primary database and performs operations using the primary database; responsive to a determination that the primary database cannot be opened, the host computer opens a backup database for the first user and performs operations using the backup database; and responsive to detection of a first error condition comprising a hang-up condition of the first thread, the host computer migrates the first user to a second thread.
-
Specification