[Freeciv-tickets] [freeciv] #46228: localtime() used in multithreaded context

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu Dec 8 17:25:46 JST 2022


#46228: localtime() used in multithreaded context

  Open Date: 2022-12-07 13:32
Last Update: 2022-12-08 10:25

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/46228
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46228

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-12-08 10:25 Updated by: cazfi
 * Milestone Update from (None) to 3.0.6


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.6
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Some of our localtime() calls can happen on multithreaded context.
Likely solution is to implement fc_localtime() that wraps localtime_r() when it's available, otherwise fallback functionality.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/46228
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46228



More information about the Freeciv-tickets mailing list
Back to archive index