view modules/count-leading-zeros @ 40220:2796695e9216

get-rusage-as, pthread_sigmask tests: Fix -fsanitize=thread findings. * lib/get-rusage-as.c (get_rusage_as): When compiled by "gcc -fsanitize=thread", don't try get_rusage_as_via_setrlimit. * tests/test-pthread_sigmask2.c (main): Clean up the killer_thread before exiting.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 01:28:42 +0100
parents 22a948de1761
children
line wrap: on
line source

Description:
Counts the number of leading 0-bits in a word.

Files:
lib/count-leading-zeros.c
lib/count-leading-zeros.h
m4/count-leading-zeros.m4

Depends-on:
extern-inline
verify

configure.ac:
gl_COUNT_LEADING_ZEROS

Makefile.am:
lib_SOURCES += count-leading-zeros.c

Include:
"count-leading-zeros.h"

License:
LGPLv2+

Maintainer:
Eric Blake