Skip to content

Commit 70e87b8

Browse files
authored
Update README.md
1 parent ccd0c6f commit 70e87b8

File tree

1 file changed

+3
-1
lines changed
  • src/test/java/org/javasim/examples/interrupt

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
Example showing the async interrupt capabilities.
1+
This is a basic example of the new interrupt mechanisms added in version 1.5.
2+
3+
A Processor object has two message queue, one for general messages and one for interrupts (signals). The processor will wait for a set period of time and will then inspect its general message queue for work to be done. This will be performed and then it will go back to waiting. A Signal object will periodically wake up and send a signal to the processor and place a message in to its signal queue.

0 commit comments

Comments
 (0)