- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
raingloom
-
Content Count
7 -
Joined
-
Last visited
Posts posted by raingloom
-
-
If it won't kill my PC, I'm interested.
-
If OpenOS require is anything like standard Lua's, then you can force a reload for all future `require` calls by `table.remove`-ing the first entry in `package.loaders`. That is the one that queries `package.loaded`.
-
The pacman-like syntax looks awesome, are you planning on implementing -Q -i -l and others as well?
-
So, I know that true parallelization is not possible with Lua's coroutines, but I thought it would be fun to implement something like a server with multiple users.
The basic idea is that the kernel runs coroutines according to priorities (just like in real life) and maybe "punishes" threads that take too long to yield (it runs them less often).
This is all fine and dandy, but it would also be nice to run non-blocking threads while a thread is waiting on a blocking operation (events). That's where the problems arise.
Waiting on pullSignal would blocks other theads, even with a timeout.
Any ideas to overcome this?
-
name: raingloom
age: 19
MC name: Rain_Gloom
Real CPU for OpenComputers. Interested?
in Lounge
Posted
I know the original author is no longer working on this, but for future reference: did anyone consider the architecture already in use by the Tekkit project?