Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150643 > + 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( Done. Will be pushed in next commit. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150643 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
