lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Mar 2008 08:29:00 -0700
From:	Joe Perches <joe@...ches.com>
To:	Akinobu Mita <akinobu.mita@...il.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH 1/5] lib: introduce call_once()

On Mon, 2008-03-10 at 23:57 +0900, Akinobu Mita wrote:
> +++ 2.6-rc/include/linux/once.h
> +struct once_control {
> +	struct mutex lock;
> +	int done;

bool?

> +};
> +
> +#define __ONCE_INITIALIZER(name) {					\
> +		.lock		= __MUTEX_INITIALIZER(name.lock),	\
> +		.done		= 0,					\
> +	}
> +
> +#define DEFINE_ONCE(name) struct once_control name = __ONCE_INITIALIZER(name)

static?

> +
> +extern int call_once_slow(struct once_control *once_control,
> +			  int (*init_rouine)(void));

return bool?
spelling: s/rouine/routine/g


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ