I would like to draw attention regarding std.signals

Bastiaan Veelo via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 5 07:55:20 PDT 2017


On Tuesday, 5 September 2017 at 13:27:44 UTC, 12345swordy wrote:
> On Tuesday, 5 September 2017 at 12:09:55 UTC, Bastiaan Veelo 
> wrote:
>> I don't really know, but there are some alternatives on dub 
>> that try to improve on std.signals, for example 
>> https://code.dlang.org/packages/phobosx. Not sure thread 
>> safety is part of the efforts.
>>
>> Bastiaan.
>
> The recent updated is from 2015. That's not what I consider to 
> be ideal.

I assume you think that is a long time. It could also mean it is 
stable.

All I am saying is before you start looking into fixing the 
existing std.signals, it may be beneficial to look at 
improvements that others have made. The review thread is here 
[1], voting thread is here [2] (it was a tie). It was not 
accepted into phobos due to lack of thorough review and too 
little interest. Some people think std.signals should be 
deprecated and removed altogether, others think it is a shame it 
didn't get in. Positive feedback exists [3, 4].

Maybe you are the right person to brush this implementation up, 
address the critiques, and open a new PR. According to [5] it is 
already thread safe.

Bastiaan.

[1] 
http://forum.dlang.org/post/ujlhznaphepibgtpcoqz@forum.dlang.org
[2] 
http://forum.dlang.org/post/nhnitsaqijyhnmgcumux@forum.dlang.org
[3] http://forum.dlang.org/post/mkm17h$1ic$50@digitalmars.com
[4] https://issues.dlang.org/show_bug.cgi?id=17011
[5] 
http://forum.dlang.org/post/sxuiargigylszcurpdnr@forum.dlang.org


More information about the Digitalmars-d mailing list