함수 MayRelease [SWS_DM_01536] Upstream: RS_Diag_04135
bool MayRelease () const noexcept;
Reports whether the shared resource is no longer in use.
클래스 ara::diag::ReleaseHandler의 동기 멤버 함수 MayRelease은(는) 공유 리소스의 상태 쿼리에 사용됩니다[SWS_DM_01536]. 파라미터를 받지 않으며 불리언 값을 반환합니다. 리소스가 더 이상 사용되지 않는 경우 true, 그렇지 않은 경우 false입니다SWS Diagnostics §8.23.1.2.3.1 “MayRelease”. 연동을 위해 헤더 ara/diag/release_handler.h이(가) 필요합니다[SWS_DM_01536].
해당 메서드는 noexcept(으)로 선언되어 있으며 예외 안전성 exception safe을(를) 나타냅니다[SWS_DM_01536]. 예외가 발생하지 않으며 오류 코드가 전달되지 않습니다. DET, DEM을 통한 특정 오류 처리나 ara::core::Result의 반환은 이 조회 함수에 대해 정의되어 있지 않습니다SWS Diagnostics §8.23.1.2.3.1 “MayRelease”.
동시성과 관련하여 이 메서드는 thread-safe(으)로 명시되어 있으며 const(으)로 한정되어 있습니다[SWS_DM_01536]. 객체의 내부 상태를 수정하지 않고 여러 스레드에서 동시에 호출할 수 있습니다. 해석: 호출자는 리소스를 해제하거나 반환하기 전에 동기식으로 조회를 활용할 것으로 보이며, 이 메서드 자체는 해제 동작을 직접 수행하지 않고 순수한 감시자(watcher) 역할을 할 것으로 추정됩니다. 질문 Q-207324651411ed8f (열림)
Diagnostics(DM) 모듈의 프레임워크 내에서 이 함수는 R25-11 릴리스의 [SWS_DM_01536] 아래에 명시되어 있습니다SWS Diagnostics §77. 공유 리소스의 라이프사이클에서 표준화된 인터페이스 역할을 합니다.
이 사용 지침은 AI에 의해 작성되었으며 AUTOSAR Adaptive R25-11 명세서의 요구사항을 기반으로 합니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/diag/release_handler.h" |
|---|---|
| Scope | class ara::diag::ReleaseHandler |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| bool | True in if the shared resource is no longer in use, False otherwise |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01536- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01536@rel:R25-11#a984e61c- Content hash
a984e61c- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01536
Status: valid/unmigrated
Version: rel:R25-11#2fdaf46b
Versionshistorie & Revisions (1 transition, 5 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_DM_01536@rel:R25-11#2fdaf46b
Recorded Revisions (5):
- R25-11
rel:R25-11#a23ca4922026-09-30 - R22-11
rel:R22-11#d7c5870c2026-10-14 - R23-11
rel:R23-11#47a2a7aa2026-10-14 - R24-11
rel:R24-11#2fdaf46b2026-10-14 - R25-11
rel:R25-11#2fdaf46b2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문