CPX_CALLBACKCONTEXT_THREAD_DOWN
Generic callback at thread end
#defineCPX_CALLBACKCONTEXT_THREAD_DOWN0x0004
Description
This constant is used to specify CPLEX generic callback invocation when CPLEX de-activates a thread. Note that this notification is about thread de-activation, not thread destruction. CPLEX can use thread pools, in which case thread destruction and thread de-activation are two very different events.
This context is the counterpart of CPX_CALLBACKCONTEXT_THREAD_UP.
The constant is used in two different ways:
- As a value passed into the generic callback function to specify in which context the generic callback is invoked.
- Bitwise ORed into the where argument of the CPXXcallbacksetfunc and CPXcallbacksetfunc routine to specify in which situations CPLEX should invoke the generic callback.