File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4193" status =" New" >
5+ <title >§ [time.zone.db] the specification uses the undefined term "thread-safe"</title >
6+ <section ><sref ref =" [time.zone.db]" /></section >
7+ <submitter >S. B. Tam</submitter >
8+ <date >16 Jan 2025</date >
9+ <priority >99</priority >
10+
11+ <discussion >
12+ <p >
13+ <paper num =" N5001" /> <sref ref =" [time.zone.db.list]" /> p3:
14+ </p >
15+ <blockquote style =" border-left: 3px solid #ccc;padding-left: 15px;" >
16+ <p >
17+ <i >Synchronization</i >: This operation is thread-safe with respect to `reload_tzdb()`.
18+ </p >
19+ </blockquote >
20+ <p >
21+ <paper num =" N5001" /> <sref ref =" [time.zone.db.access]" /> p2:
22+ </p >
23+ <blockquote style =" border-left: 3px solid #ccc;padding-left: 15px;" >
24+ <p >
25+ <i >Synchronization</i >: It is safe to call this function from multiple threads at one time.
26+ </p >
27+ </blockquote >
28+ <p >
29+ <paper num =" N5001" /> <sref ref =" [time.zone.db.remote]" /> p3:
30+ </p >
31+ <blockquote style =" border-left: 3px solid #ccc;padding-left: 15px;" >
32+ <p >
33+ <i >Synchronization</i >: This function is thread-safe with respect to `get_tzdb_list().front()` and
34+ `get_tzdb_list().erase_after()`.
35+ </p >
36+ </blockquote >
37+ <p >
38+ The standard does not define what "thread-safe" means, which makes the meaning of these sentences unclear.
39+ Does it mean that "concurrent calls do not introduce data races", or does it additionally require a single
40+ total order on these operations? In either case, it should be specified clearly.
41+ </p >
42+
43+ </discussion >
44+
45+ <resolution >
46+ </resolution >
47+
48+ </issue >
You can’t perform that action at this time.
0 commit comments