← Back to team overview

kicad-developers team mailing list archive

Re: wxString and thread safety

 

Am 23.08.18 um 19:32 schrieb Jeff Young:
> Remember a month or so ago when I “discovered” that wxString isn’t
> thread safe, but had a strange sense of /deja vu/?
> 
> Well, I stumbled upon this comment today:
> 
> // Oh dear. When in UTF-8 mode, wxString puts string iterators in a linked list, and
> // that linked list is not thread-safe.
> 
> Author?

git blame is your friend

> $ git blame pcbnew/board_items_to_polygon_shape_transform.cpp | grep "$(git grep -n "Oh dear.  When in UTF-8 mode" | cut -f2 -d ":")"
> db73daa09c (Jeff Young          2018-04-05 22:40:02 +0100  414)     // Oh dear.  When in UTF-8 mode, wxString puts string iterators in a linked list, and

-- 
Regards
Carsten Schoenert


References