f9micro / f9-kernel

An efficient and secure microkernel built for ARM Cortex-M cores, inspired by L4
Other
682 stars 145 forks source link

Reuse library function for kernel code #93

Closed myaut closed 10 years ago

myaut commented 10 years ago
rampant1018 commented 10 years ago

I can't replace thread_map_search with bsearch. Because thread_map_search will search upper bound in map array, bsearch can just search element which matches key in map array. Is something I missed?

myaut commented 10 years ago

Yes, thread_map_search implementation is a bit different from binary search. Thanks for you work.