std.signals and malloc
David
d at dav1d.de
Sat Jan 19 07:28:34 PST 2013
Am 18.01.2013 06:29, schrieb Andrej Mitrovic:
> 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
>
Good to know, thanks
More information about the Digitalmars-d
mailing list