JargonFile/entries/trap.txt

14 lines
777 B
Plaintext
Raw Normal View History

2014-04-26 14:52:28 +00:00
trap
2014-04-26 15:54:15 +00:00
1. n. A program interrupt, usually an interrupt caused by some exceptional
situation in the user program. In most cases, the OS performs some action,
2014-07-26 07:53:53 +00:00
then returns control to the program. 2. vi. To cause a. These instructions
2014-04-26 15:54:15 +00:00
to the monitor. Also used transitively to indicate the cause of the. The
2014-07-26 07:53:53 +00:00
monitors all input/output instructions. This term is associated with
2014-04-26 15:54:15 +00:00
assembler programming ( interrupt or exception is more common among HLL
programmers) and appears to be fading into history among programmers as the
role of assembler continues to shrink. However, it is still important to
computer architects and systems hackers (see system , sense 1), who use it
to distinguish deterministically repeatable exceptions from timing-dependent
ones (such as I/O interrupts).