On Fri, 12 Feb 2010 13:10:01 +0100
bjoern michaelsen - Sun Microsystems - Hamburg Germany
<[email protected]> wrote:

> Current situation:
> - assertions might be anything from a informal "I didnt expect this
>   external data" to a critical "internal state corrupt"
> 
> Desired situation:
> - assertions are only "internal state corrupt" messages and should
>   abort
> - everything else is tracing, logging

On a second thought: Frank is afaid his asserts will get lost in all
the OSL_TRACEs we have today, Stephan wants assertions to be assertions.
Proposal:
- Make all current OSL_TRACEs to a new OSL_TRACE_VERBOSE (available by
  OSL_DEBUG_LEVEL>2 or something)
- Make all current OSL_ASSERTs and DBG_ASSERTs to OSL_TRACEs
- Keep OSL_ASSERT for real asserts that abort (and creates an P1 when
  firing on a master)

The migration will not change the behavior much but allows the
introduction of real assertions.

Best Regards,

Bjoern

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to