Passing delegate indirectly to createLowLevelThread doesn't work

Tejas notrealemail at gmail.com
Mon Jul 26 15:29:26 UTC 2021


```d
import std;
import core.thread.osthread;

void delegate() f;
void main()
{
     void func(){}
     f = &func;
     createLowLevelThread(&func, 2<<30);//works
     createLowLevelThread(f, 2<<30);// doesn't  work!!
}

```

Can someone help?


More information about the Digitalmars-d-learn mailing list