android / android/games-samples

gettid rather than getpid

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.