[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Re: freetype2 support multi-thread?
From: |
Werner LEMBERG |
Subject: |
[ft] Re: freetype2 support multi-thread? |
Date: |
Wed, 22 Apr 2009 07:59:00 +0200 (CEST) |
> 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