std.signals and malloc

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Jan 17 21:29:41 PST 2013


On 1/17/13, David <d at dav1d.de> wrote:
> Is there any reason why std.signals.Signal allocates with calloc and
> realloc instead of using the gc directly? When digging through the code
> everything seems magic and old.

I think it's because it's old. It should probably use Appender instead
of calloc.

FWIW Robert proposed a new std.signals:
http://forum.dlang.org/thread/mailman.1551.1352122526.5162.digitalmars-d@puremagic.com
http://forum.dlang.org/thread/mailman.2206.1353757059.5162.digitalmars-d@puremagic.com


More information about the Digitalmars-d mailing list