DIP60: @nogc attribute
Regan Heath via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 17 06:36:35 PDT 2014
On Wed, 16 Apr 2014 18:38:23 +0100, Walter Bright
<newshound2 at digitalmars.com> wrote:
> On 4/16/2014 8:01 AM, qznc wrote:
>> However, what is still an open issue is that @nogc can be stopped by
>> allocations
>> in another thread. We need threads which are not affected by
>> stop-the-world. As
>> far as I know, creating threads via pthreads C API directly achieves
>> that, but
>> integration with @nogc could provide more type safety. Stuff for
>> another DIP?
>
> That's a completely separate issue.
Yep. I was thinking an attribute like @rt (realtime) would be super cool
(but, perhaps impossible). It would be a super-set of things like @nogc,
and imply those things. Adding @nogc does not prevent such a thing being
done in the future.
R
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Digitalmars-d
mailing list