aboutsummaryrefslogtreecommitdiff
path: root/src/common/libalgo
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to BAM build toolAlex Auvolat2016-07-132-11/+3
|
* Fix a bug: malloc() with wrong sizeAlex Auvolat2015-03-141-1/+1
|
* Add mutexes everywhere ; spam debug log (sorry)Alex Auvolat2015-03-141-1/+2
|
* Add missing mutex-locking in procesc.c ; discovered design fault somewhere.Alex Auvolat2015-03-132-29/+29
|
* Change thread waiting technology. Slower but does not do crappy things like ↵Alex Auvolat2015-03-111-2/+2
| | | | malloc at impractical places.
* Bugfixing in progress. Strange bug: wait_on adds to waiters but later not in ↵Alex Auvolat2015-03-111-2/+2
| | | | waiters.
* Process exiting & thread termination. IMPORTANT NOTE FOLLOWS.Alex Auvolat2015-03-041-0/+13
| | | | | | | | 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.
* Several things :Alex Auvolat2015-02-191-1/+1
| | | | | | | - disambiguate syscall.h : kernel syscall.h moved to sct.h - fix btree_remove_v !! (munmap fucked up stuff before) - make nullfs's directory listing non-exclusive (it actually copies the listing on open() and readdir()'s from that copy)
* Add btree_remove_v to selectively remove bindings that have a keyAlex Auvolat2015-02-141-0/+55
|
* Add lower/upper bound test ; fix id_key_cmp_fun.Alex Auvolat2015-02-142-1/+2
|
* Add first btree test ; fix first btree test.Alex Auvolat2015-02-141-3/+3
|
* Add binary tree implementation. NOT TESTED, FULL OF BUGS.Alex Auvolat2015-02-144-45/+362
|
* Change hashtbl memory freeing methodAlex Auvolat2015-02-141-19/+39
|
* Reorganize code in preparation for user apps.Alex Auvolat2015-02-132-0/+183