apache / apache/brpc

contention profiler是否支持pthread_wrlock

Open
#2,133 2 comments 0 reactions 0 assignees View on GitHub
usage
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

https://github.com/BrianGladman/pthreads/blob/master/pthread_rwlock_wrlock.c
https://android.googlesource.com/platform/external/pthreads/+/216eb8153b2455d1e15f8fbf84d4413ddcc40adc/pthread_rwlock_wrlock.c
看了两个实现,pthread_wrlock是用pthread_mutex_lock实现的,所以contention profiler应该也支持pthread_wrlock的吧?

Contributor guide

Open the contributing guide

Research direction

Start by reading the contention profiler entry points and compare their handling with the two referenced pthread_rwlock_wrlock.c implementations. Determine whether pthread_wrlock is already covered, then add or verify coverage with a focused contention-profiler test; done means the supported behavior is demonstrated and documented by the test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.