[collectd] multi-threading support in the perl plugin

Justo Alonso justo.alonso at gmail.com
Wed Nov 14 13:50:28 CET 2007

On Nov 13, 2007 11:55 PM, Sebastian Harl <sh at tokkee.org> wrote:
> Hi everybody,
   Hi !
> The following series of patches add basic multi-threading support to the perl
> plugin. Basically, each C thread, which accesses the perl plugin, will be
> mapped to an interpreter based Perl thread. The implementation has been
> inspired by Perl' ithreads introduced in version 5.6.0 and should be
> compatible (as in: can be used side-by-side) with it. You can use the
> "threads::shared" module (along with the "threads" module) to share data
> structures between threads of either implementation.
> The perl plugin now requires libperl to be build with ithread support in order
> to compile correctly. An appropriate check has been added to the configure
> script.
> The new code has not been tested very thoroughly yet, so testers and feedback
> are mostly welcome and appreciated.
  I'm trying it ! But I can't patch with this files. The first patch
work fine. The second and thirth patchs failed. I check it on
collectd-4.2.1 producction package and with the today snapshot.

   ummm Does this patch work with the gnu patch program ???

> Cheers,
> Sebastian

thanks sebastian, and sorry for my english !
> --
> Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
> Those who would give up Essential Liberty to purchase a little Temporary
> Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin
> Version: GnuPG v1.4.6 (GNU/Linux)
> iD8DBQFHOitsEFEKc4UBx/wRAqZVAKCVpzSAc9d/02HbnZ1Uf9Oi0lj0cACfdZBt
> HdOlGbvPWoA1O6u40Tj7XJg=
> =T3sm
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd

More information about the collectd mailing list