Beispiel #1
0
void
sysctl_register_oid(struct sysctl_oid *oidp)
{
	SYSCTL_XLOCK();
	sysctl_register_oid_int(oidp);
	SYSCTL_XUNLOCK();
}
Beispiel #2
0
void
sysctl_register_oid(struct sysctl_oid *oidp)
{
	sysctl_lock(LK_EXCLUSIVE);
	sysctl_register_oid_int(oidp);
	sysctl_unlock();
}