Re: [Vala] GObject allocation / referencing... Why is so slow?
- From: Jiří Zárevúcky <zarevucky jiri gmail com>
- To: Marco Trevisan (Treviño) <mail 3v1n0 net>
- Cc: vala-list gnome org
- Subject: Re: [Vala] GObject allocation / referencing... Why is so slow?
- Date: Sat, 15 Jan 2011 19:09:21 +0100
Yes, it's not the same, but it's a similar implementation, using
reference counting (it's not atomic, but if you use an sig_atomic_t ref
variable, instead of the volatile int, you would get atomicity with no
performance loss at all),
Not true I believe. sig_atomic_t ensures atomicity on an entirely
different level.
It has nothing to do with multi-threaded programming.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]