Anyone familiar with both systems able to tell me the pros and cons
|
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
Anyone familiar with both systems able to tell me the pros and cons
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
remove it
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
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
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
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |