# HG changeset patch # User William Roberts # Date 1261568824 0 # Node ID c9417927a89686fe5588a63bf0cad5c20616dd6f # Parent 56f325a607eadee5bddfb752a9541e749b0be6c9# Parent 9947e075979dcbf5a896f2b5d9f2fa98d4a4f75f Re-merge improved comments diff -r 56f325a607ea -r c9417927a896 kernel/eka/euser/cbase/ub_act.cpp --- a/kernel/eka/euser/cbase/ub_act.cpp Wed Dec 23 11:43:31 2009 +0000 +++ b/kernel/eka/euser/cbase/ub_act.cpp Wed Dec 23 11:47:04 2009 +0000 @@ -137,9 +137,20 @@ 2. the active object within the implementation of the Cancel() function. +E32USER-CBase 46 panics may occur if an active object is set active but +no request is made on its TRequestStatus, or vice-versa. This panic happens +no earlier than the next time that the active scheduler assesses which +objects are ready to run, and may happen much later. This panic is termed +a 'stray event' because it indicates that some entity has sent an event +to this thread, but this thread is not in a state ready to handle it. + @see CActive::IsActive @see CActive::RunL @see CActive::Cancel + +@panic E32USER-CBase 42 if this active object is already active +@panic E32USER-CBase 49 if this active object has not been added to the active + scheduler. */ { __ASSERT_ALWAYS(!(iStatus.iFlags&TRequestStatus::EActive),Panic(EReqAlreadyActive));