bugAbstract Media Library - Bugs: bug #12585, Thread wait() and kill()

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #12585: Thread wait() and kill()

Submitted by:  XorfacX <xorfacx>
Submitted on:  Tue 11 Nov 2008 09:26:25 PM UTC  
 
Category: NoneSeverity: 5 - Blocker
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 11 Feb 2009 05:20:34 PM UTC, comment #1:

Found a problem in Thread class where the SDL_Thread ID wasnt stored properly, therefore SDLut was unable to kill it afterwards.

I fixed that, now the problem is to make sure the Thread is invalidated after it has been terminated. however we dont know when that might happen.

Some work has to be done in the callback template.

Since this structure and behavior is very similar to the Timer one, that also has problems, I will review both... and hopefuly find a unified solution...

At the moment Thread and Timer are quite different in code, but they should be very similar...

Alexandre VINCENT <asmodehn>
Project Administrator
Tue 11 Nov 2008 09:26:25 PM UTC, original submission:

Thread wait() and kill() does not do anything. Also they're sometimes not even used if thread number is 0.
See TestThread for more infos.

XorfacX <xorfacx>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by asmodehn (Posted a comment)
  • -unavailable- added by xorfacx (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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup