mithrandir0x / so1 Goto Github PK
View Code? Open in Web Editor NEWSistemes Operatius 1
Sistemes Operatius 1
Currently, the tests only rely on a parent process waiting before ending.
It is interesting to verify how the kernel behaves when a parent process waits for its children to end, and then waits again for another bunch of child threads to do their thingies.
Currently, f_pending_schedulling
flag is being disabled at block_process
.
But there are two functions where this flag should be set to FALSE
: unblock_process
, and int_sw
This should be done for P2 and P2-S2.
As the current process priority is being shared to its child, it is possible that the new current process priority may not be the utmost one.
When this happens, it is necessary to look up for a the process with the utmost priority and signal a reschedulling.
In the function tratar_padre
, if the current process is to be awakened because all its children ceased to exist, the process not necessarily may be in l_wait_procs
. It may have been blocked by other reasons (being run-through/prioritized, sleeping like a lazy yokel)
Though not critical, it may be interesting to set the state the next BCP to EJECUCION
when a change of context happens.
If a current process lowers its own base priority, it shouldn't trigger right away a reschedulling.
Instead, the kernel should look up for the process with max priority, and trigger a reschedulling if the current process does not have the utmost priority.
Instead of looking them up from the slept process list, or the ready list, it is better to look them up in the process table tabla_procs
.
When calling sys_wait
, instead of blocking always the process, it has to be done only when the current process has children.
Otherwise, it makes no sense ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.