bugThe GNU Telecom Subsystem - Bugs: bug #24218, Endless thread

 
 
Show feedback again

bug #24218: Endless thread

Submitted by:  Andrew Borodin <a_borodin>
Submitted on:  Mon 08 Sep 2008 06:41:21 AM UTC  
 
Category: ucommonSeverity: 3 - Normal
Item Group: PackagesStatus: Postponed
Privacy: PublicAssigned to: David Sugar <dyfet>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 29 Dec 2008 03:22:19 PM UTC, comment #1:

In ucommon, the "isRunning()" state is held live until the thread is actually joined, even if it has "exited". This is different behavior than Common C++. Perhaps we need to add a "joinable" flag as well as "runable" flag to the thread, and if so, it will happen with the next ABI related release.

David Sugar <dyfet>
Project AdministratorIn charge of this item.
Mon 08 Sep 2008 06:41:21 AM UTC, original submission:

The same code for CommonC++ and UCommon (in attached files) produces different results:
for CommonC++, program is finished normally;
for UCommon, program is never finished, because JoinableThread::isRunning() doesn't return true.

Andrew Borodin <a_borodin>

 

(Note: upload size limit is set to 512 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16447:  thread-commoncpp2.cpp added by a_borodin (506B - application/octet-stream)
file #16448:  thread-ucommon.cpp added by a_borodin (535B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dyfet (Posted a comment)
  • -unavailable- added by a_borodin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Dec 2008 03:22:19 PM UTCdyfetItem GroupNone=>Packages
      StatusNone=>Postponed
      Assigned toNone=>dyfet
    Mon 08 Sep 2008 06:41:21 AM UTCa_borodinAttached File-=>Added thread-commoncpp2.cpp, #16447
      Attached File-=>Added thread-ucommon.cpp, #16448
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup