Re: About Treeview update with thread
- From: Jeffrey Ratcliffe <jeffrey ratcliffe gmail com>
- To: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
- Cc: åçå <ruibotang gmail com>, muppet <scott asofyet org>, gtk-perl-list gnome org
- Subject: Re: About Treeview update with thread
- Date: Wed, 13 May 2009 20:16:17 +0200
2009/5/13 Emmanuel Rodriguez <emmanuel rodriguez gmail com>:
From what I understood perl has a lot of troubles with threads and objects
(blessed references). I recall when threads where first available in Perl
that sharing blessed references will loose the blessing. The data is passed
intact to the other thread but the blessing is lost, this makes calling
methods on objects useless. I'm not sure if this is the issue with your
program but your should keep it in mind.
I have been using the module "forks" for a while now with success -
the threads API, but using fork(), and therefore by definition
everything is thread-safe.
Regards
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]