Thread overview
[phobos] TDPL: std.concurrency.atomicOp()
Aug 27, 2010
Sean Kelly
Aug 28, 2010
Sean Kelly
August 27, 2010
TDPL mentions a std.concurrency.atomicOp(string op)(...) function, but
this doesn't seem to exist.  Has it been dropped, or is it still on the
to-do list?

-Lars

August 27, 2010
It's in core.atomic and publicly imported to std.concurrency.  I thought I added the string op, but perhaps not?

On Aug 27, 2010, at 1:33 AM, Lars Tandle Kyllingstad wrote:

> TDPL mentions a std.concurrency.atomicOp(string op)(...) function, but
> this doesn't seem to exist.  Has it been dropped, or is it still on the
> to-do list?
> 
> -Lars
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos

August 28, 2010
Are you sure?  I can't find the import, nor does it seem to be indirectly imported through any of the other public imports.  With DMD 2.048 I get

    Error: template instance template 'atomicOp' is not defined

I can't test it on Phobos SVN, due to some completely unrelated bug.

-Lars



On Fri, 2010-08-27 at 07:33 -0700, Sean Kelly wrote:
> It's in core.atomic and publicly imported to std.concurrency.  I thought I added the string op, but perhaps not?
> 
> On Aug 27, 2010, at 1:33 AM, Lars Tandle Kyllingstad wrote:
> 
> > TDPL mentions a std.concurrency.atomicOp(string op)(...) function, but
> > this doesn't seem to exist.  Has it been dropped, or is it still on the
> > to-do list?
> > 
> > -Lars
> > 
> > _______________________________________________
> > phobos mailing list
> > phobos at puremagic.com
> > http://lists.puremagic.com/mailman/listinfo/phobos
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


August 28, 2010
Oops!  Looks like it isn't imported after all.  I'll fix that.

On Aug 28, 2010, at 7:13 AM, Lars Tandle Kyllingstad wrote:

> Are you sure?  I can't find the import, nor does it seem to be indirectly imported through any of the other public imports.  With DMD 2.048 I get
> 
>    Error: template instance template 'atomicOp' is not defined
> 
> I can't test it on Phobos SVN, due to some completely unrelated bug.
> 
> -Lars
> 
> 
> 
> On Fri, 2010-08-27 at 07:33 -0700, Sean Kelly wrote:
>> It's in core.atomic and publicly imported to std.concurrency.  I thought I added the string op, but perhaps not?
>> 
>> On Aug 27, 2010, at 1:33 AM, Lars Tandle Kyllingstad wrote:
>> 
>>> TDPL mentions a std.concurrency.atomicOp(string op)(...) function, but
>>> this doesn't seem to exist.  Has it been dropped, or is it still on the
>>> to-do list?
>>> 
>>> -Lars
>>> 
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>> 
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> 
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos