aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix nasty task switching buAlex Auvolat2016-07-151-10/+10
|
* Fix sme warnings...Alex Auvolat2016-07-141-4/+4
|
* Begin implement escape sequence handling in terminal.Alex Auvolat2015-03-141-1/+1
|
* Fix blocking channel && channel write on circular-overflow. (see ipc.c)Alex Auvolat2015-03-141-1/+1
|
* Fix region allocator (see changes in region.c!) ; debug spam control.Alex Auvolat2015-03-141-12/+15
|
* Add mutexes everywhere ; spam debug log (sorry)Alex Auvolat2015-03-141-13/+13
|
* Add missing mutex-locking in procesc.c ; discovered design fault somewhere.Alex Auvolat2015-03-131-4/+7
|
* Add better stack tracing technology (now uses kernel memory map!)Alex Auvolat2015-03-111-11/+20
|
* Change thread waiting technology. Slower but does not do crappy things like ↵Alex Auvolat2015-03-111-38/+30
| | | | malloc at impractical places.
* Bugfixing in progress. Strange bug: wait_on adds to waiters but later not in ↵Alex Auvolat2015-03-111-17/+24
| | | | waiters.
* Fix process exiting.Alex Auvolat2015-03-111-8/+15
|
* Add mutex to pciide driver (fixes some stuff)Alex Auvolat2015-03-101-0/+2
|
* Remove kernel region pf handlers ; fix forget-to-zero-out bug.Alex Auvolat2015-03-091-1/+1
|
* Partial implement VFS pager (enough for ISO9660!)Alex Auvolat2015-03-091-1/+1
| | | | Also add some debugging facilities (especially stack trace).
* Implement select ; add two tests for channels.Alex Auvolat2015-03-081-28/+58
|
* Add two entropy sources. Warning: prng is not secure in any way, I have no ↵Alex Auvolat2015-03-081-0/+4
| | | | knowlege of such things.
* Update readme ; change time-related function names.Alex Auvolat2015-03-071-2/+2
|
* Process exiting & thread termination. IMPORTANT NOTE FOLLOWS.Alex Auvolat2015-03-041-20/+90
| | | | | | | | Threads may now communicate via wait_on(void* ressource) and resume_on (void* ressource). Previous pause() is replaced by wait_on(current_thread) and resume(thread) by resume_on(thread). wait_on(x) may return false, indicating that the reason for returning is NOT that resume_on(x) was called but something else happenned. Typically false indicates that the curent thread is being killed and must terminate its kernel-land processing as soon as possible.
* Implement process termination and cleaning up (not completely though)Alex Auvolat2015-03-031-2/+53
|
* More uses of free_some_memory()Alex Auvolat2015-03-021-1/+7
|
* No lazy allocation of kernel memory. Placeholder for pmem freeing routine.Alex Auvolat2015-03-021-3/+6
|
* Setup critical section management for parts that must not be interrupted.Alex Auvolat2015-03-021-28/+33
|
* Change mode of operation for mmap_file (see readme)Alex Auvolat2015-02-201-0/+4
|
* Add kernel worker threads for handling various tasks (eg. interrupts)Alex Auvolat2015-02-191-1/+18
|
* Many things :Alex Auvolat2015-02-141-3/+3
| | | | | | - fix context switching (it actually worked only because of optimizations!) - complete mchmap implementation - adjust elf parser to load binaries correctly even without FM_MMAP
* Reorganize code in preparation for user apps.Alex Auvolat2015-02-131-4/+2
|
* Implement some handling of user stuff...Alex Auvolat2015-02-131-1/+1
|
* Implement switching to usermode.Alex Auvolat2015-02-131-1/+2
|
* Prepare for user memory management and usermode codeAlex Auvolat2015-02-131-5/+12
|
* Change semantics of pd_map_page to return true on success, false on error.Alex Auvolat2015-02-091-1/+4
|
* Reorganize all.Alex Auvolat2015-02-091-0/+208