site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kCXcOcke7hspyCBTNesgFx0u800+vGl7kCk/Id+uKYs+Yh95zzB17Ah6KQeho0qXX2IuzTxzRsYAksFuA1NBSihPkJJtpnWspg26fpwxcKAsqfheYFAB9rRWeGsBfM4e/AKVJIQIhPt4k5W8OnqkNeTmx53KTXPIDiT/3PGrisY= Look in the darwin source for more details: /* * All-CPU rendezvous: * - CPUs are signalled, * - all execute the setup function (if specified), * - rendezvous (i.e. all cpus reach a barrier), * - all execute the action function (if specified), * - rendezvous again, * - execute the teardown function (if specified), and then * - resume. * * Note that the supplied external functions _must_ be reentrant and aware * that they are running in parallel and in an unknown lock context. */ void mp_rendezvous(void (*setup_func)(void *), void (*action_func)(void *), void (*teardown_func)(void *), void *arg) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On 11/16/06, Paul Litvak <paullitvak@gmail.com> wrote: How would you call a function on all cpus from a kernel extension? This email sent to site_archiver@lists.apple.com