|    OS2    |    Fidonet International OS/2 Conference    |    3,371 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 481 of 3,371    |
|    Jonathan de Boyne Pollard to All    |
|    Re: Thread safety in FF/TB/MOZ and the t    |
|    19 Aug 11 10:51:03    |
   
   Thunderbird/5.0   
   mmer.misc,mozilla.dev.ports.os2   
   UTC)   
   .os2.misc:3595 comp.os.os2.programmer.misc:2318   
   From: Jonathan de Boyne Pollard    
      
   >>> The patch is intended to make this dll multi-thread and SMP safe. It   
   >>> adds no new code; it simply redirects calls made to unsafe routines   
   >>> and routes them to safe versions that were already present in the dll.   
   >>   
   >> Which functions? And why is Mozilla/Thunderird/Firefox calling the   
   >> non-reentrant routines in parallel from a multithreaded program in the   
   >> first place? Surely the latter is the bug to fix?   
   >   
   > The zip contains Steve Levine's explanation of the problem. You'll find it   
   > at the top of 'tcpip32_mtsafe-malloc-patch-2011-08-16.pat'.   
      
   The name "mtsafe-malloc" itself is a bit of a giveaway. If it's just    
   malloc() and free() then I'm not concerned. I already use thread-safe    
   versions of those in TCPIP32.DLL, and always have done. I was concerned    
   that you were talking about the getXbyY functions or some such.    
   Applications programmers thinking that those are thread-safe is    
   erroneous on more than just OS/2.   
      
   --- Internet Rex 2.31   
    * Origin: virginmedia.com (1:261/20.999)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca