www.digitalmars.com         C & C++   DMDScript  

D - Bug : synchronized makes AV when terminate.

reply yaneurao sun-inet.or.jp writes:
I use 'synchronized' keyword in Win9x , an access violation happens
when my program terminate.

eg.
synchronized {
}

At the last of _STD_critical_term() in dmd/src/phobos/internal/critical.c

: DeleteCriticalSection( &critical_section.cs ); // here

Perhaps , DeleteCriticalSection is called redundantly.

yaneurao.

PS.
I want to apologize to post the same article twice.
http://www.digitalmars.com/drn-bin/wwwnews?D/21162
http://www.digitalmars.com/drn-bin/wwwnews?D/21163

When I was talking about Duplicate Handle,
my article are Duplicated , not a thread handle.
Jan 05 2004
parent reply "Walter" <walter digitalmars.com> writes:
<yaneurao sun-inet.or.jp> wrote in message
news:btcb9a$brk$1 digitaldaemon.com...
 I use 'synchronized' keyword in Win9x , an access violation happens
 when my program terminate.
Which win9x?
Jan 05 2004
parent reply yaneurao sun-inet.or.jp writes:
In article <btda5j$1puo$2 digitaldaemon.com>, Walter says...
Which win9x?
I examined in plain Win98. 98SE or 95 are not examined.(sorry)
Jan 05 2004
parent reply "Walter" <walter digitalmars.com> writes:
<yaneurao sun-inet.or.jp> wrote in message
news:btdpde$2hgv$1 digitaldaemon.com...
 In article <btda5j$1puo$2 digitaldaemon.com>, Walter says...
Which win9x?
I examined in plain Win98. 98SE or 95 are not examined.(sorry)
Is this working now in 0.78?
Jan 15 2004
parent yaneurao <yaneurao_member pathlink.com> writes:
In article <bu740g$ojj$2 digitaldaemon.com>, Walter says...
 I examined in plain Win98. 98SE or 95 are not examined.(sorry)
Is this working now in 0.78?
yes! fixed. thank you. yaneurao.
Jan 15 2004