hardisp static data might be a thread safety issue
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with src/cpp/3rdparty/iers2010/hardisp/tdfrph.cpp and inspect the callers of the static cache variables. Determine whether ginan's threading design or caller-side locking makes concurrent access safe. Done means the cache's thread-safety status is established and any required change is covered by an appropriate test or documented rationale.
Written by the indexing model from the issue text.
Description
Noticed in passing that src/cpp/3rdparty/iers2010/hardisp/tdfrph.cpp is using static data for a cache that seen alone might be a thread safety issue, and I see some claims that ginan is intended to be a multi-threaded app. This may be fine, and I know little of the threading design of ginan, the callers might be ensuring this is safe by design or with locking, so please close if not an issue.
static GTime last_epoch;
static double d[6];
static double dd[6];
- Dominant language
- C++
- Stars
- 343
- Forks
- 141
- Avg merge
- 11h 51m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GeoscienceAustralia/ginan
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GeoscienceAustralia/ginan#185 · 4 comments ·
-
ionppp calculation Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GeoscienceAustralia/ginan#184 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
GeoscienceAustralia/ginan#183 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GeoscienceAustralia/ginan#182 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
GeoscienceAustralia/ginan#181 ·
All issues in GeoscienceAustralia/ginan
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·