Author Topic: KnightOS/Rogue Console - Eeems  (Read 17530 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: KnightOS/Rogue Console - Eeems
« Reply #45 on: November 07, 2010, 10:29:49 pm »
I'm pretty sure it would be slower with multiple threads. I think someone mentioned that having too many threads would be impractical, so it probably just starts at one thread.




SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #46 on: November 07, 2010, 10:56:50 pm »
It will be slower than multiple threads, yes.  However, threads can set an option - FreezeOnIdle.  This option means that if the thread does not have focus, it is frozen and no longer executed until it is no longer idle.  This is useful for a notepad type of thing.  The notepad process would freeze when switched out, and resume when switched in.  Programs like Mosaic would be set to remain active on idle while compiling, for example.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: KnightOS/Rogue Console - Eeems
« Reply #47 on: November 09, 2010, 02:19:06 pm »
That's a good idea. Is this already implemented? And what do you mean with this:
It will be slower than multiple threads, yes.
This can be interpreted as an confirmation of Deep Thoughts post, but in content it means something different, the way I read it, could you clarify it pls?
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #48 on: November 09, 2010, 03:11:36 pm »
It will be slower than multiple threads, yes.  However, threads can set an option - FreezeOnIdle.  This option means that if the thread does not have focus, it is frozen and no longer executed until it is no longer idle.  This is useful for a notepad type of thing.  The notepad process would freeze when switched out, and resume when switched in.  Programs like Mosaic would be set to remain active on idle while compiling, for example.
Yeah sounds like a cool idea. It would suck if you opened a game then quickly switched to a math program with teacher key or something, but the math stuff ran several times slower :P

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #49 on: November 09, 2010, 04:42:53 pm »
Well, games would probably want FreezeOnIdle.  This would stop them from running when you opened up the math stuff.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: KnightOS/Rogue Console - Eeems
« Reply #50 on: November 09, 2010, 08:04:27 pm »
Well, games would probably want FreezeOnIdle.  This would stop them from running when you opened up the math stuff.

Sounds like a really good idea :D

It will be slower than multiple threads, yes.  However, threads can set an option - FreezeOnIdle.  This option means that if the thread does not have focus, it is frozen and no longer executed until it is no longer idle.  This is useful for a notepad type of thing.  The notepad process would freeze when switched out, and resume when switched in.  Programs like Mosaic would be set to remain active on idle while compiling, for example.
Yeah sounds like a cool idea. It would suck if you opened a game then quickly switched to a math program with teacher key or something, but the math stuff ran several times slower :P

I really hope teachers will allow KnightOS :P
« Last Edit: November 09, 2010, 08:04:46 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS/Rogue Console - Eeems
« Reply #51 on: November 10, 2010, 02:07:53 am »
Well, games would probably want FreezeOnIdle.  This would stop them from running when you opened up the math stuff.
Yeah I meant some sort of pause on them, so they resume when no longer idle.

SirCmpwn

  • Guest
Re: KnightOS/Rogue Console - Eeems
« Reply #52 on: November 10, 2010, 10:44:34 am »
Yeah, that's correct.  There will be an event driven system so that programs will know when they are about to be frozen, too, so that they can pause the game or something.