Search

4 days ago
Learn »
Not sure if that should compile

```d
int f()
{
    while (true) {}
}
```

What I observe and...
5 days ago
Learn »
...mutex in order to increment a simple int. The CPU's atomic operation primitives already...
5 days ago
Learn »
...shared string username;
    shared int age;

    this(shared string username, shared int age)
    {
        this.username...
5 days ago
Learn »
...int gInt;

    void initialize(int initialValue = 0)
    {
        mutex = new Mutex();
        gInt = initialValue;
    }

    void increment(int...
5 days ago
Learn »
...private shared int gInt;

    // Method to safely increment the global variable
    void increment(int value...
5 days ago
Learn »
...variable that will be incremented collectively.
shared int g;

// This is the variable that will...
5 days ago
Learn »
...enum isdata(T)=false;

unittest{
	import std;
	isdata!(int).writeln;
	isdata!(data!(int,100)).writeln;
}
```
6 days ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=24533

--- Comment #1 from dlangBugzillaToGithub <robert.schadek...
6 days ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=22280

--- Comment #1 from dlangBugzillaToGithub <robert.schadek...
6 days ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=21386

--- Comment #1 from dlangBugzillaToGithub <robert.schadek...
1 2 3
Next ›   Last »