aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS6
-rw-r--r--doc/maintainers.rdoc2
-rw-r--r--ext/Setup1
-rw-r--r--ext/thread/extconf.rb4
-rw-r--r--ext/thread/thread.c6
6 files changed, 11 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index e3b4e985d9..7f3b0920f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Apr 30 11:56:15 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/thread: removed dummy extension library. thread_sync.c
+ provides "thread.rb" already.
+
Sat Apr 30 11:53:48 2016 Tanaka Akira <akr@fsij.org>
* numeric.c (int_or): {Fixnum,Bignum}#| is unified into
diff --git a/NEWS b/NEWS
index 4af7ce6cef..b55a9c7353 100644
--- a/NEWS
+++ b/NEWS
@@ -94,6 +94,12 @@ with all sufficient information, see the ChangeLog file or Redmine
* DateTime#to_time now preserves timezone. [Bug #12189]
+* thread
+
+ * the extension library is removed. Till 2.0 it was a pure ruby script
+ "thread.rb", which has precedence over "thread.so", and has been provided
+ in $LOADED_FEATURES since 2.1.
+
=== C API updates
* ruby_show_version() will no longer exits the process, if
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index 675e9ea2b7..7d4831f585 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -248,8 +248,6 @@ Zachary Scott (zzak)
_unmaintained_
[ext/syslog]
Akinori MUSHA (knu)
-[ext/thread]
- _unmaintained_
[ext/tk]
Hidetoshi NAGAI (nagai)
[ext/win32]
diff --git a/ext/Setup b/ext/Setup
index 05998e3363..c8996be79c 100644
--- a/ext/Setup
+++ b/ext/Setup
@@ -40,7 +40,6 @@
#stringio
#strscan
#syslog
-#thread
#tk
#tk/tkutil
#win32
diff --git a/ext/thread/extconf.rb b/ext/thread/extconf.rb
deleted file mode 100644
index 7e1c6d2716..0000000000
--- a/ext/thread/extconf.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# frozen_string_literal: false
-require 'mkmf'
-
-create_makefile('thread')
diff --git a/ext/thread/thread.c b/ext/thread/thread.c
deleted file mode 100644
index 9eef3b442e..0000000000
--- a/ext/thread/thread.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <ruby.h>
-
-void
-Init_thread(void)
-{
-}