mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-09-17 15:49:58 +00:00
git-svn-id: http://cexception.svn.sourceforge.net/svnroot/cexception/trunk@4 50f63946-2846-0410-8d77-f904c773002e
This commit is contained in:
+16
-16
@@ -169,29 +169,29 @@ CONFIGURATION
|
|||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
CException is a mostly portable library. It has one universal
|
CException is a mostly portable library. It has one universal
|
||||||
dependency, and another which is required if working in a multi-tasking
|
dependency, and some macros which are required if working in a
|
||||||
environment.
|
multi-tasking environment.
|
||||||
|
|
||||||
1. The standard C library setjmp must be available
|
1. The standard C library setjmp must be available
|
||||||
|
|
||||||
2. If working in a multitasking environment, a method of obtaining an
|
2. If working in a multitasking environment, methods for obtaining an
|
||||||
index into an array of frames is required. If the OS supports a
|
index into an array of frames and to get the overall number of
|
||||||
method to retrieve Task ID's, and those Tasks are number 0, 1, 2..
|
id's are required. If the OS supports a method to retrieve Task
|
||||||
you are in an ideal situation. Otherwise, a more creative mapping
|
ID's, and those Tasks are number 0, 1, 2... you are in an ideal
|
||||||
function may be required. Note that this function is likely to be
|
situation. Otherwise, a more creative mapping function may be
|
||||||
called twice for each protected block. This is the greatest
|
required. Note that this function is likely to be called twice
|
||||||
overhead in the system.
|
for each protected block. This is the only overhead in the system.
|
||||||
|
|
||||||
ExceptionConfig.h
|
Exception.h
|
||||||
-----------------
|
-----------------
|
||||||
|
By convention, most projects include Exception.h which defines any
|
||||||
|
further requirements, then calls CException.h to do the gruntwork.
|
||||||
|
|
||||||
EXCEPTION_MULTI_STACK - define if you are in a multi-tasking environment
|
EXCEPTION_NONE - set to a number which will never be an exception id in
|
||||||
|
your system.
|
||||||
|
|
||||||
EXCEPTION_NONE - set to a number which will never be an exception id in
|
EXCEPTION_GET_ID - If in a multi-tasking environment, this should be
|
||||||
your system.
|
set to be a call to the function described in #2 above.
|
||||||
|
|
||||||
EXCEPTION_GET_ID() - If in a multi-tasking environment, this should be
|
|
||||||
set to be a call to the function described in #2 above.
|
|
||||||
|
|
||||||
EXCEPTION_NUM_ID - If in a multi-tasking environment, this should be set
|
EXCEPTION_NUM_ID - If in a multi-tasking environment, this should be set
|
||||||
to the number of ID's required (usually the number of
|
to the number of ID's required (usually the number of
|
||||||
|
|||||||
Reference in New Issue
Block a user