aboutsummaryrefslogtreecommitdiff
path: root/src/common/libalgo/hashtbl.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-131-1/+1
|
* 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.
* Add binary tree implementation. NOT TESTED, FULL OF BUGS.Alex Auvolat2015-02-141-44/+15
|
* Change hashtbl memory freeing methodAlex Auvolat2015-02-141-19/+39
|
* Reorganize code in preparation for user apps.Alex Auvolat2015-02-131-0/+172