Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions changelog/deprecate_std_signals.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Deprecate std.signals

`std.signals` is considered out-dated and not up to Phobos' current
standards. It will be removed from Phobos in 2.107.0.

If you still need it, go to $(LINK https://github.com/DigitalMars/undeaD)

Other alternatives are:
$(LINK https://code.dlang.org/packages/descore) and
$(LINK https://code.dlang.org/packages/phobosx)
1 change: 0 additions & 1 deletion std/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public import
std.random,
std.range,
std.regex,
std.signals,
std.socket,
std.stdint,
std.stdio,
Expand Down
7 changes: 6 additions & 1 deletion std/signals.d
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Written in the D programming language.

/**
* $(RED Warning: This module is considered out-dated and not up to Phobos'
* current standards. It will be removed from Phobos in 2.107.0.
* If you still need it, go to $(LINK https://github.com/DigitalMars/undeaD))
*
* Signals and Slots are an implementation of the Observer Pattern.
* Essentially, when a Signal is emitted, a list of connected Observers
* (called slots) are called.
Expand Down Expand Up @@ -60,6 +64,8 @@
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
// @@@DEPRECATED_[2.107.0]@@@
deprecated("Will be removed from Phobos in 2.107.0. If you still need it, go to https://github.com/DigitalMars/undeaD")
module std.signals;

import core.exception : onOutOfMemoryError;
Expand Down Expand Up @@ -286,7 +292,6 @@ mixin template Signal(T1...)
ST status;
}

///
@system unittest
{
import std.signals;
Expand Down