Thread overview
[dmd-internals] [D-Programming-Language/dmd] 366a1d: Merge pull request #499 from donc/ctfeclass
Nov 08, 2011
David Simcha
Nov 08, 2011
Don Clugston
Nov 08, 2011
David Simcha
November 07, 2011
  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd

  Commit: 366a1d759ed45d2aa4bfcb431a0d1ded1f8cf0fc
      https://github.com/D-Programming-Language/dmd/commit/366a1d759ed45d2aa4bfcb431a0d1ded1f8cf0fc
  Author: Walter Bright <walter at walterbright.com>
  Date:   2011-11-07 (Mon, 07 Nov 2011)

  Changed paths:
    M src/func.c
  M src/interpret.c
  M test/compilable/interpret3.d

  Log Message:
  -----------
  Merge pull request #499 from donc/ctfeclass

CTFE: support with + synchronized +6416+6901


November 08, 2011
I assume synchronized is just a no-op in CTFE?

On 11/8/2011 12:45 AM, noreply at github.com wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/D-Programming-Language/dmd
>
>    Commit: 366a1d759ed45d2aa4bfcb431a0d1ded1f8cf0fc
>        https://github.com/D-Programming-Language/dmd/commit/366a1d759ed45d2aa4bfcb431a0d1ded1f8cf0fc
>    Author: Walter Bright<walter at walterbright.com>
>    Date:   2011-11-07 (Mon, 07 Nov 2011)
>
>    Changed paths:
>      M src/func.c
>    M src/interpret.c
>    M test/compilable/interpret3.d
>
>    Log Message:
>    -----------
>    Merge pull request #499 from donc/ctfeclass
>
> CTFE: support with + synchronized +6416+6901
>
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>

November 08, 2011
On 8 November 2011 14:32, David Simcha <dsimcha at gmail.com> wrote:
> I assume synchronized is just a no-op in CTFE?

Yes. Useless, but keeps the spec short.
November 08, 2011
On 11/8/2011 8:46 AM, Don Clugston wrote:
> On 8 November 2011 14:32, David Simcha<dsimcha at gmail.com>  wrote:
>> I assume synchronized is just a no-op in CTFE?
> Yes. Useless, but keeps the spec short.
>
Sounds reasonable to me.  Why would anyone expect synchronized to do anything in CTFE when you don't have threading?