RE: [PHP-DEV] Bug #720 Updated: TTF support does not work correctly
| From: | Shane Caraveo | Date: | Sat, 12 Sep 1998 21:11:26 +0000 |
| Subject: | RE: [PHP-DEV] Bug #720 Updated: TTF support does not work correctly | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-1012@lists.php.net to get a copy of this message | ||
> > I tried to deal with this when I initialy added ttf support
> to windows,
> > but couldn't figure that out at the time. Since php 3.1
> will require
> > thread safety, it is unlikely gdlib will be used in windows
> beyond 3.0
> > anyway, so I haven't looked into it any further. So,
> considering those
> > things, should we deal with this, or close this and write it off for
> > windows?
>
> GD is awefully useful and it would be sad to lose it completely in PHP
> 3.1. Could we not stick a lock around these functions and
> only allow one
> thread into them at any one time?
I thought about it, but that would probably kill it's usefulness anyway,
unless we saved each gdlib global into a php global between functions. Even
then, I think there would be significant performance loss. The only thing
that will realy fix it in a useful way is to make gdlib thread safe.
Eventualy, if someone else doesn't get to it, I might. The real problem, is
that this is going to affect a lot of libraries. The imap library is
another one that will be a problem, then of course my dreaded msql
libraries.
Shane
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net