Skip to content

add ProcID function to fetch the procid field of M#15

Open
Martinho0330 wants to merge 1 commit intov2pro:masterfrom
Martinho0330:add_proc_id
Open

add ProcID function to fetch the procid field of M#15
Martinho0330 wants to merge 1 commit intov2pro:masterfrom
Martinho0330:add_proc_id

Conversation

@Martinho0330
Copy link

need to do kill thread for some tricky senario, so need to specify which thread is being killed, but seems that there is no comprehensive way to write a unit test for this function, @taowen please help to review and figure out a way to proceed with unit test? Much appreciation for that!

@ayanamist
Copy link

You can use LockOSThread and syscall.Gettid instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants