Thread: grahams cycleevent or tick

Results 1 to 4 of 4
  1. #1 grahams cycleevent or tick 
    Registered Member
    Join Date
    Aug 2014
    Posts
    9
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    okay, i added in the hyperion game engine onto one of my pi bases because im wanting to eliminate the task managers most pis uses, the cycleevent/eventmanager whatever, ive already eliminated the eventmanager system, but now im wondering which task manager would be more beneficial to use, the tickmanager that was originally in hyperion or the cycleeventmanager? as i know they do the same thing. and its stupid to have multiple things doing the same thing.

    dont get all sucked up because ive added the hyperion game engine into a pi, im not doing it because i think its gonna stabilize pi, no. im just using it for the things it comes with. you can technically add those utilities into the normal server start up that came with pi, but id rather spend time on other things
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2014
    Posts
    9
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    Anyone familiar with both systems able to tell me the pros and cons
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2012
    Posts
    66
    Thanks given
    5
    Thanks received
    17
    Rep Power
    32
    Whichever one doesn't run off of it's own thread, unless you want random obscure deadlocks anyways.
    Reply With Quote  
     

  4. #4  
    Banned grahams cycleevent or tick Market Banned


    Join Date
    Jan 2011
    Age
    26
    Posts
    3,112
    Thanks given
    1,198
    Thanks received
    1,479
    Rep Power
    0
    Quote Originally Posted by demmonic View Post
    Whichever one doesn't run off of it's own thread, unless you want random obscure deadlocks anyways.
    he's right. especially with the amount of thread safety issues in PI (synchronized blocks missing where they're needed, synchronized blocks added where they aren't, tasks systems that run on their own independent threads executing game code, etc.) you'll run into a lot of threading issues such as race conditions, deadlocks, livelocks, or starvation. race conditions would probably be the most common thing you'd run into


    Quote Originally Posted by HelpThePoor View Post
    okay, i added in the hyperion game engine onto one of my pi bases
    remove it


    Quote Originally Posted by HelpThePoor View Post
    im wanting to eliminate the task managers most pis uses
    the only thing wrong with PI in this context is that it has 50 (not literally) different task systems being used, some of which run on their own independent threads which isn't safe or needed


    Quote Originally Posted by HelpThePoor View Post
    now im wondering which task manager would be more beneficial to use, the tickmanager that was originally in hyperion or the cycleeventmanager? as i know they do the same thing. and its stupid to have multiple things doing the same thing.
    the "cycle events" that comes with PI is fine although it can be revised to run faster by using a linkedlist instead of an arraylist and using an iterator instead of creating a list of tasks to remove every single tick


    Quote Originally Posted by HelpThePoor View Post
    dont get all sucked up because ive added the hyperion game engine into a pi, im not doing it because i think its gonna stabilize pi, no. im just using it for the things it comes with.
    yeah but since I doubt you know how to properly utilize it or know anything about threading I suggest you just remove it, a cycle based task system will work just fine
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. CycleEvent or EventManager?
    By relex lawl in forum Help
    Replies: 4
    Last Post: 02-11-2012, 05:31 AM
  2. MindFreak Or Family Guy?
    By I Lur3z I in forum Voting
    Replies: 12
    Last Post: 06-08-2008, 10:59 PM
  3. rate these (i dont use photoshop or gimp)
    By Scaar in forum Showcase
    Replies: 7
    Last Post: 05-16-2007, 04:56 PM
  4. Sotm or Sotw
    By Crazay in forum General
    Replies: 15
    Last Post: 05-01-2007, 03:24 AM
  5. Replies: 9
    Last Post: 04-03-2007, 08:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •