Claims
- 1. A method for task scheduling in an event driven environment comprising a processor, said processor configured to determine when one of a set of predetermined events has occurred, a memory coupled to said processor, said memory having stored therein one or more statements for performing an operation, said processor executing said one or more statements upon the occurrence of one of said set of predetermined events, wherein the improvement comprises the steps of:defining at least one event in the source code of a program, said at least one event represented by a valid programming language expression that has a boolean result upon being evaluated; said processor executing the program including the steps of: repeatedly testing a first scheduling statement by determining whether a predetermined event has occurred, repeatedly testing a second scheduling statement by evaluating said valid programming language expression, and when said first predetermined event occurs or when said valid programming language expression evaluates to true, then said processor executing a set of statements associated with said first and second scheduling clauses.
- 2. A method for implementing an event driven environment in a computer system, said computer system including a processor, a memory having stored therein a program, said processor coupled to said memory for executing said program, a scheduler running on said processor, said scheduler configured to evaluate one or more scheduling statements in said program, said one or more scheduling statements, upon being selected, causing associated operations to be performed by said processor, said program including a first scheduling statement which is selected upon the occurrence of a predetermined event, wherein the improvement comprises the steps of:including a second scheduling statement in said program; during the execution of said program, said processor repeatedly evaluating a programming language expression, said programming language expression corresponding to a user-defined event; and selecting said second scheduling statement and thereby causing an associated operation to be performed when said programming language expression evaluates to true, however when said programming language expression evaluates to false then said second scheduling clause is not selected and said second operation is not performed.
Parent Case Info
This application is a Div of Ser. No. 08/665,425 Jun. 18, 1996 U.S. Pat. No. 6,353,861 and a Div of Ser. No. 08/306,181 Sep. 13, 1994 Abandoned and a Div of Ser. No. 08/111,001 Aug. 24, 1993 U.S. Pat. No. 5,357,765 and a Div of Ser. No. 08/671,117 Jun. 24, 1996.
US Referenced Citations (53)
Foreign Referenced Citations (3)
Number |
Date |
Country |
0412232 |
Feb 1991 |
EP |
9015394 |
Dec 1990 |
WO |
9103017 |
Mar 1991 |
WO |
Non-Patent Literature Citations (2)
Entry |
Jerrold M. Ginsparg & Ronald D. Gordon, “Automatic Programming of Communications Software Via Nonprocedural Descriptions”, 1982 IEEE, pp. 1343-1347. |
Stroustrup, The C++ Programming Language, 1986, pp. 16-20. |