bitmap_allocator.h
26.6 KB
-
bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the... · 71f9a9d1
2004-03-24 Dhruv Matani <dhruvbird@gmx.net> * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the while loop. (allocate) -> If condition has __builtin_expect. (deallocate) -> Ditto. Renamed a few left-over variables and typedefs according to the C++STYLE mentioned in the documentation. Protected calls to __gthread* by __gthread_active_p(), whose value is cached in the local variable __threads_active. From-SVN: r79924
Dhruv Matani committed