SMP : determining the number of CPUs
Jim Reid
jim at rfc1035.com
Sat Aug 11 10:47:40 UTC 2001
>>>>> "Simon" == Simon Waters <Simon at wretched.demon.co.uk> writes:
>> I would appreciate it if someone can point me to the proper
>> files/functions to see how BIND determines the number of CPUs a
>> machine has.
Simon> bind-9.2.0rc1/lib/isc/unix/os.c and Win32 directory I
Simon> guess.
Simon> What the copyright position is on this I'm not sure
The copyright notice in the file makes that more than clear:
/*
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
More information about the bind-users
mailing list