In computing and operating systems, a trap is a type of synchronous interrupt typically caused by an exceptional condition (e.g. division by zero or invalid memory access) in a user process. A trap usually results in a switch to kernel mode, wherein the operating system performs some action before returning control to the originating process. In some usages, the term trap refers specifically to an interrupt intended to initiate a context switch to a monitor program or debugger.[1]
In SNMP, a trap is a type of PDU used to report an alert or other asynchronous event about a managed subsystem.
See also
References
- ^ "The Jargon File, version 4.4.7". 2003-10-27. http://catb.org/esr/jargon/html/T/trap.html. Retrieved 2007-02-03.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




