The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 24, 2007

Filed:

Dec. 18, 2002
Applicant:

Vance O'neill, Redmond, WA (US);

Inventor:

Vance O'Neill, Redmond, WA (US);

Assignee:

Microsoft Corporation, Redmond, WA (US);

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/46 (2006.01);
U.S. Cl.
CPC ...
Abstract

In order to provide flexibility for a developer, a network API is provided which allows for a network event (for example, the receipt of data over the network) to be handled by one thread from among a predetermined number of dedicated threads. The number of dedicated threads is specified by the application at runtime and can be modified at runtime as well. Where the number of dedicated threads specified is greater than zero, dedicated threads are created which handle network events and call the specific callback functions of the application in response to the network events. Thus the number of such callback events from threads that can occur at one time is limited by the number of dedicated threads specified by the application. When the number of dedicated threads is specified as zero, no callback events can occur except when the application assigns a certain time period for them. Thus, when the number of dedicated threads created is zero, the application has control over the amount of processing time allotted to the network layer. Network events are handled when the application issues calls a 'Do Work' method. While executing this method, network events are handled.


Find Patent Forward Citations

Loading…