android / android/games-samples
gettid rather than getpid
Open
- Dominant language
- C++
- Stars
- 307
- Forks
- 138
- Avg merge
- 8d 11h
- Merged PRs (30d)
- 2
Description
AndroidFunctions.cpp/DPFManager::InitializePerformanceHintManager.cpp
....
jintArray array = env->NewIntArray(1);
int32_t tid = **getpid**();
....
Contributor guide
Research direction
Start in AndroidFunctions.cpp and DPFManager::InitializePerformanceHintManager.cpp, using the shown thread-ID assignment as the entry point. Verify the platform API expected by this Android performance-hint code and confirm that the resulting value is the thread ID rather than the process ID; done means the relevant source uses the correct identifier.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev, mobile
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100