baidu / baidu/tera

bug: SetCpuMask 当cpu_id溢出返回不符合预期

Open
#1,232 0 comments 0 reactions 0 assignees View on GitHub
class/bug module/ts stat/not-decide
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

cpu_id等于cpu数的时候返回不符合预期

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the SetCpuMask entry point and reproduce the case where cpu_id equals the CPU count. The issue does not name a file or test and does not state the expected return value, so confirm the boundary-condition contract before changing anything; done means the return behavior matches that contract and is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.