[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype
Subject:    [ft] Re: freetype2 support multi-thread?
From:       Werner LEMBERG <wl () gnu ! org>
Date:       2009-04-22 5:59:00
Message-ID: 20090422.075900.94899225.wl () gnu ! org
[Download RAW message or body]


> I don't know whether freetype2 supports multi-thread?

No.  However, FreeType is thread-safe since it doesn't use global
variables.

> we must add lock or unlock for multi-thread protect of freetype2,
> but this way cause our system become slow, Have better way for
> multi-thread protect?

You have to give more details.  The basic idea is to simply use
separate `FT_Library' objects for each thread.


    Werner


_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic