Review of std.signal

Robert jfanatiker at gmx.at
Sat Jan 4 10:01:16 PST 2014


On Friday, 15 November 2013 at 11:25:30 UTC, ilya-stromberg wrote:
> On Thursday, 7 November 2013 at 13:45:57 UTC, Dicebot wrote:
>> Our current victim is std.signal by Robert Klotzner which is 
>> supposed to deprecate and supersede existing (and broken) 
>> std.signals
>
> Robert, it will be great to see some more documentation for 
> `std.signal`.
> For example, you can:
>  - add more usage examples for each public function

I think this is overkill for this simple API. I would basically 
have to repeat the example given at the top for every single 
function, not really useful.

>  - add tread-safe example for multi-tread application

std.signal is in no way special regarding multi threading, it is 
just the same as with every other module in phobos.

>  - add better signal description and add more external links 
> (for examle, to the wikipedia - 
> http://en.wikipedia.org/wiki/Signals_and_slots). Look at the 
> old std.signals - http://dlang.org/phobos/std_signals.html

Done :-)


More information about the Digitalmars-d mailing list