Re: Proposal: Enable threads by default



On Wed, 2009-12-02 at 11:48 +0000, jcupitt gmail com wrote:
> 2009/12/2 Alexander Larsson <alexl redhat com>:
> > I'm certainly for this. Does anyone know of any system in use where
> > gthreads are not availible?
> 
> One problem I've had in the past is writing mysql plugins.
> 
> I help maintain an image processing library, and one use of the
> library was a mysql plugin that added query-by-image-content. To get
> the plugin working we had to make sure we could run threadless.

By threadless, do you mean not linking to the thread library, or do you
mean "don't spawn threads". Because initializing threads doesn't mean
we'll create threads, just that we make global us data threadsafe.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's a time-tossed coffee-fuelled gangster with a robot buddy named Sparky. 
She's a supernatural tomboy former first lady with the power to bend men's 
minds. They fight crime! 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]