[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Multithreading issues
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Multithreading issues |
Date: |
Thu, 30 Sep 2010 19:50:45 +0200 (CEST) |
> However, apparently the Freetype library does not support being
> called from two threads a the same time when the same FT_Library is
> used.
This is correct.
> I have read here that Freetype does not used global variables. Am I
> right? So I assume it all should work fine provided I use one
> library handle per thread.
Yes. I wonder why you haven't seen this in the description of
FT_Library:
For multi-threading applications each thread should have its own
FT_Library object.
Werner