FLTK logo

Re: [fltk/fltk] Multithread fix for PNG loading (#203)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Multithread fix for PNG loading (#203) Albrecht Schlosser Apr 07, 2021  
 

@fire-eggs I believe this issue is fixed with commit 7f969b5.

Kevin, can you confirm that this fixes your multithread issue? If yes, please feel free to close this PR. Thanks.

FTR: the commit mentioned above uses a different approach by allocating the file pointer fp with operator new which also removes the static variable. The same fix has been applied to Fl_JPEG_Image - which didn't have the static variable but also issued the [-Wclobbered] warning (gcc "release" build with optimization).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.