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 07:16:23 -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 13:16 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
I will now post an example under #1754



=================== 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:  fedemp                  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 13:16       By: pkm
I will now post an example under #1754

-------------------------------------------------------
Date: Wed 05/14/2003 at 13:04       By: fedemp
As for Bug #1754, I have not been able to get the
same behaviour you describe, but similar crashes in
some platforms. We will look at it, as well as other
problems with threads. If you have more info or even
a trace, it would be very useful for us.


-------------------------------------------------------
Date: Wed 05/14/2003 at 13:03       By: fedemp
As for Bug #1754, I have not been able to get the
same behaviour you describe, but similar crashes in
some platforms. We will look at it, as well as other
problems with threads. If you have more info or even
a trace, it would be very useful for us.


-------------------------------------------------------
Date: Wed 05/14/2003 at 12:59       By: fedemp

The thread is created when start() or detach() is called.
The constructors of the Thread class just initialize
resources.


-------------------------------------------------------
Date: Wed 05/14/2003 at 12:34       By: pkm
[BTW: What about #1754? can nobody reproduce it?]

-------------------------------------------------------
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]