signals.d: Making it safe for concurrent GC.

Work in progress.