apache / apache/teaclave-sgx-sdk

Naming of Mutex

Open
#356 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

Is there a particular reason the mutex is named `SgxMutex` rather than the standard name `Mutex` from the std? The name difference is particularly annoying when we want to use the same code compile to a standard Linux process and sgx application.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SDK's SgxMutex definition and its uses, then compare them with Rust std's Mutex naming and the Linux-versus-SGX compilation paths. Determine whether the names can be aligned without breaking existing callers, and verify that the same code can compile for both targets when done.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.