Il 21/11/2012 15:00, Jan Kiszka ha scritto:
> + if (!TlsGetValue(current_tls_index)) {
> + leader = g_malloc0(sizeof(*leader));
> + leader->fiber = ConvertThreadToFiber(NULL);
> + TlsSetValue(current_tls_index, &leader->base);
> }Leaking leader is a bit bad, but it looks ok for 1.3. For 1.4 we really should bring back a portable solution for TLS that includes statically-allocated data. Paolo
