JDK-4324793 : RFE: Easier re-using of Threads using Runnable interface
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-03-24
  • Updated: 2002-04-27
  • Resolved: 2002-04-27
Related Reports
Duplicate :  
Description

Name: stC104175			Date: 03/24/2000


java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

Please make it easier to re-use threads or pooling threads
by allowing to assign another Runnable if the
Thread is not alive (died or not yet started).

E.g. in java.lang.Thread:
public void assign(Runnable newRunnable);

This would give the Runnable interface more attention.
(Review ID: 102489) 
======================================================================

Comments
WORK AROUND Name: stC104175 Date: 03/24/2000 Needs to extend java.lang.Thread. ======================================================================
11-06-2004

EVALUATION Equivalent (and safer) functionality will be provided in the upcoming concurrency utilities, which includes a flexible execution framework. ###@###.### 2002-04-26
26-04-2002