Home away from home   
                                     
                     
                                 
                                    
                    
                         
                    
                        Joined: 2006/11/20 16:26 Last Login
                                : 11/2 23:20 
                                                    From Norway 
                                                                            Group:
                                  Registered Users                             
                                                
                                                                            
                                             
                                     | 
        
                         @IamSONIC
  I guess you post here to get some feedback on Allegro4, thats not same code as Allegro5, but I suggest that signal is per process / task / thread, they are not shared between processes.
  If your Wait is always awakened it has to be because, something is always feeding it a signal, causing it to not wait. 
  line 24, if a thread signal is triggered, then timer signal is not checked on line 29, this might be a bug.
  If the delta time is spiky then it probably because of this.
  Is interval delta on line 34 giving you too low values? if so then the timer signal is generated too often.
  I hope this helps.
  
                        
             
            
                                            
                
                
                    Edited by LiveForIt on 2020/6/13 8:09:07 Edited by LiveForIt on 2020/6/13 8:10:41 
                 
                      |