SIGEMT

From Wikipedia, the free encyclopedia

SIGEMT (non-POSIX)
Description: Emulator trap
Default action: Abnormal termination of the process
SA_SIGINFO macros
None

On some Unix-like platforms, SIGEMT is the signal sent to computer programs when an emulator trap occurs. The symbolic constant for SIGEMT is defined in signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

[edit] Etymology

SIG is a common prefix for signal names. EMT is an abbreviation for emulator trap; it is the name of an instruction on the highly influential PDP-11 architecture.

[edit] Usage

On the PDP-11 architecture, EMT, TRAP, BPT and IOT were instructions used for program traps. EMT was for system software, TRAP for programmer use, BPT for debugging, and IOT for I/O routines. Currently EMT does not have a standardised usage.

[edit] References

    Solaris sends SIGEMT to new lightweight processes to enable them to reset hardware performance counters.

    POSIX Signals
    SIGABRT | SIGALRM | SIGFPE | SIGHUP | SIGILL | SIGINT | SIGKILL | SIGPIPE | SIGQUIT | SIGSEGV | SIGTERM | SIGUSR1 | SIGUSR2 | SIGCHLD | SIGCONT | SIGSTOP | SIGTSTP | SIGTTIN | SIGTTOU | SIGBUS | SIGPOLL | SIGPROF | SIGSYS | SIGTRAP | SIGURG | SIGVTALRM | SIGXCPU | SIGXFSZ | Realtime Signals are user definable—SIGRTMIN+n through SIGRTMAX.
    Common non-POSIX signals and synonyms
    SIGIOT | SIGEMT | SIGSTKFLT | SIGIO | SIGCLD | SIGINFO | SIGPWR (SIGINFO) | SIGLOST | SIGWINCH | SIGUNUSED