Closed myaut closed 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?
Yes, thread_map_search implementation is a bit different from binary search. Thanks for you work.