[Mono-devel-list] Patch that adds support for context static fields

Paolo Molaro lupus at ximian.com
Fri Nov 21 10:24:22 EST 2003


On 11/20/03 Lluis Sanchez wrote:
> This patch adds support to the runtime for context static fields. They
> work like thread static fields, but context static fields are local to
> remoting contexts instead of threads, and those fields are marked with
> [ContextStaticAttribute].

Looks fine. I'd prefer if the static field 'offsets' were stored all
in a single hash table (instead of two, thread_static_fields and
context_static_fields), maybe by setting the high bit to mean either
thread or context static.

Thanks.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list