bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug #3279] refman: 8.91 Thread Class Reference:


From: nobody
Subject: [Bug #3279] refman: 8.91 Thread Class Reference:
Date: Wed, 14 May 2003 06:32:46 -0400

=================== BUG #3279: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3279&group_id=89

Changes by: Peter Karl Müller <address@hidden>
Date: Wed 05/14/2003 at 12:32 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
When exactly is the thread created? Is is created
when the objects constructor is finished or during
the excecution of start ()? 



=================== BUG #3279: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: commonc++                    
Submitted on: Sun 04/20/2003 at 13:47
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  refman: 8.91 Thread Class Reference:

Original Submission:  The reference manual says:

"Every thread of execution in an application is created by
 deriving a unique class from the Thread class and by
 implementing the Run method. base class used to derive all
 threads of execution."

This is IMHO wrong. Since you have at compile time a
fixed number of classes you could only get a fixed number
of threads. This is not the case (or?). AFAICS a thread
is created each time a run method is executed after a
derived class has been instanciated.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 05/14/2003 at 12:32       By: pkm
When exactly is the thread created? Is is created
when the objects constructor is finished or during
the excecution of start ()? 

-------------------------------------------------------
Date: Wed 05/14/2003 at 11:53       By: fedemp

 Um, yes it seems that the explanation may be a bit confusing.

 Do you agree with replacing:

"by deriving a unique class from the Thread class and by
implementing the Run method."

with

"by instantiating an object of a class derived from the
Thread class. Classes derived from Thread must implement
the method run, which specifies the code of the thread."


-------------------------------------------------------
Date: Sun 04/20/2003 at 13:49       By: pkm
[sorry, did not logged in]


CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden               | 
address@hidden           | ()



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3279&group_id=89




reply via email to

[Prev in Thread] Current Thread [Next in Thread]