bornintelligent / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

not safe to run multiple MinidumpProcessors on separate threads #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SourceLineResolveR:Module::Tokenize() uses strtok(), which is not safe to
call concurrently.  Easy change to use strtok_r().

Original issue reported on code.google.com by bry...@gmail.com on 20 Nov 2006 at 6:27

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bry...@gmail.com on 27 Nov 2006 at 6:39

GoogleCodeExporter commented 9 years ago
strtok_r is the reentrant variant of strtok. It is POSIX-conformant. However, 
it is missing from MinGW, i think it wouldn’t be right to use it. 

Original comment by wqvb...@gmail.com on 4 Jan 2013 at 8:00