[phobos] Improving std.signals

Robert Jacques sandford at jhu.edu
Sat Oct 9 14:20:12 PDT 2010


On Sat, 09 Oct 2010 14:48:29 -0400, Sean Kelly <sean at invisibleduck.org>  
wrote:
> What are the limitations of this for multithreaded use and reentrancy?   
> Can I modify the handler list from within a handler, etc?

Delegates as currently not safe for multithreaded use as delegate  
modifiers (pure, shared, immutable, etc) don't work yet, IIRC. The library  
appears to be designed for signal thread use only. Currently, modifying  
the handler list from within a handler would result in undefined behavior.


More information about the phobos mailing list