August 07, 2008
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?
August 08, 2008
在 Thu, 07 Aug 2008 22:02:12 +0800,Frank Benoit <keinfarbton@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/
Top | Discussion index | About this forum | D home