Synchronizing on an interfaces classinfo

davidl davidl at 126.com
Fri Aug 8 01:18:59 PDT 2008


在 Thu, 07 Aug 2008 22:02:12 +0800,Frank Benoit  
<keinfarbton at googlemail.com> 写道:

> I got an segmentation fault in the attemp to synchronize on a interfaces  
> classinfo
>
> interface IFigure{
> }
>
> static this(){
>    synchronize( IFigure.classinfo ){ // << crash
>    }
> }
>
> Is that a bug, or is there a documented reason why this is?

whatever the reason is, it's clearly a bug.

-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list