Trapping

The standards specify an optional trapping mode of operation, in which selected exceptions cause trap handlers to be invoked when those exceptions arise. Such a mechanism is hardware-specific and depends on the ability to interrupt a calculation at a point that both makes sense to a high-level handler and permits a seamless return. Although some form of trapping is available on virtually all platforms, IEEE standard trapping has found very little use. It's not supported in the CommonPoint model.

NOTE You enable trapping in whatever way the underlying hardware supports it by setting platform-dependent bits in a dedicated hardware register. The CommonPoint environment classes do not support access to trapping control bits.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker