| Noun | 1. | trap - a device in which something (usually an animal) can be caught and penned |
| 2. | trap - drain consisting of a U-shaped section of drainpipe that holds liquid and so prevents a return flow of sewer gas | |
| 3. | trap - something (often something deceptively attractive) that catches you unawares; "the exam was full of trap questions"; "it was all a snare and delusion" Synonyms: snare | |
| 4. | trap - a device to hurl clay pigeons into the air for trapshooters | |
| 5. | trap - the act of concealing yourself and lying in wait to attack by surprise | |
| 6. | trap - informal terms for the mouth | |
| 7. | trap - a light two-wheeled carriage | |
| 8. | trap - a hazard on a golf course | |
| Verb | 1. | trap - place in a confining or embarrassing position; "He was trapped in a difficult situation" |
| 2. | trap - catch in or as if in a trap; "The men trap foxes" | |
| 3. | trap - hold or catch as if in a trap; "The gaps between the teeth trap food particles" | |
| 4. | trap - to hold fast or prevent from moving; "The child was pinned under the fallen tree" |
| 1. | trap - A program interrupt, usually an interrupt caused by some exceptional situation in the user program. In most cases, the OS performs some action, then returns control to the program. | ||
| 2. | trap - To cause a trap. "These instructions trap to the monitor."
Also used transitively to indicate the cause of the trap.
"The monitor traps all input/output instructions." This term is associated with 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). |
About this site and copyright information - Online Dictionary Home