[KPhotoAlbum] Patch to speed up scanning for new images

Tero Tilus tero at tilus.net
Fri May 11 09:35:40 BST 2007


On Thu, 10 May 2007, Robert L Krawitz wrote:
> I understand the problem, but it doesn't sound like there's really a
> safe way around it, since KPhotoAlbum is threaded.

How come?  From http://seclists.org/fulldisclosure/2005/Nov/0001.html

  "Programs using readdir_r may be able to use readdir. [...] for
   portability the use of readdir in a multithreaded program should be
   controlled using a mutex."

Am I missing something here?  (I'm really not an expert in this...)

-- 
Tero Tilus ## +358 (0)50 3635 235 ## http://www.tilus.net/koti/tero/



More information about the Kphotoalbum mailing list