Kinsey Moore started a new discussion on 
testsuites/validation/tc-task-delete.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/808#note_135210

 >    longjmp( ctx->thread_dispatch_context, 1 );
 >  }
 >  
 > +static void DeleteAndJumpBack( Context * const ctx )
 > +{
 > +  if ( setjmp( ctx->thread_dispatch_context ) == 0 ) {
 > +    ctx->status = rtems_task_delete( ctx->id );
 > +  } else {
 > +    _Thread_Dispatch_unnest( _Per_CPU_Get() );
 > +  }
 > +}

Does longjmp get called before this function exits? I couldn't easily find the 
call tree that leads to longjmp in either `ResumeThreadDispatch()` or `Fatal()`.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/808#note_135210
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to