digitalmars.D.bugs - synchronized crash
- Regan Heath (11/11) Jul 06 2005 --[bug.d]--
- Thomas Kuehne (12/22) Jul 21 2005 -----BEGIN PGP SIGNED MESSAGE-----
--[bug.d]--
void main()
{
ubyte[] data;
synchronized(data) {
}
}
dmd bug.d
bug.d(4): can only synchronize on class objects, not 'ubyte[]'
<crash>
Regan
Jul 06 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Regan Heath schrieb am Thu, 07 Jul 2005 13:00:27 +1200:
--[bug.d]--
void main()
{
ubyte[] data;
synchronized(data) {
}
}
dmd bug.d
bug.d(4): can only synchronize on class objects, not 'ubyte[]'
<crash>
Added to DStress as
http://dstress.kuehne.cn/nocompile/s/synchronized_01_A.d
http://dstress.kuehne.cn/run/s/synchronized_01_B.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFC39MG3w+/yD4P9tIRAhZbAJ4yGHVCCms63/75CD0ySjaV4BO11gCdF8Sd
gKpHugindVQCJQvRp1Eg7VA=
=QnEE
-----END PGP SIGNATURE-----
Jul 21 2005








Thomas Kuehne <thomas-dloop kuehne.this-is-spam.cn>