Gedare Bloom started a new discussion on cpukit/dhrl/dhrl.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150590

 > +    return RTEMS_INVALID_SIZE;
 > +  }
 > +
 > +  if (
 > +    ctx->worker_a_id != RTEMS_ID_NONE || ctx->worker_b_id != RTEMS_ID_NONE
 > +  ) {
 > +    return RTEMS_RESOURCE_IN_USE;
 > +  }
 > +
 > +  ctx->active_config = *config;
 > +  atomic_init( &ctx->active_epoch, 0 );
 > +  atomic_init( &ctx->completed_epoch, 0 );
 > +  atomic_init( &ctx->winning_data_ptr, (uintptr_t) NULL );
 > +  rtems_mutex_init( &ctx->mutex, "DHRM" );
 > +
 > +  sc = rtems_task_create(

The required resources for this library should be picked up through confdefs. 
You should add some new macro(s) such as `CONFIGURE_APPLICATION_NEEDS_DHRL` or 
something.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150590
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