site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=KjSMV3qbLwNyn2Z+DC7nLTTNcWQMrzlkPit8AfKWDhU=; b=Tuv2Jt5iXfmfTnfrTTjt66vg6Hl8QC7oFTCDp6klHlvmBClQIEpgMGcZLm+vEKdj9s Uu0FqF3Rt5AtQWtstD28mZ/s5zQKMiVNzF84BUWT2ONcdrXwJge2eTgqQTHhVq96nibO JsQZB6qQvnL1Qk1eEeBkbDDg4UOLb0v2w/zkw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=wPs+/5QiUonHISHDo3xjfn+MDr9FgVhrAXYpSnpP1zVXBtf+1KbdZH7XaFCBp6A/9k uE0/ZNhjkUuW9wgwFJaRaMgm/cpgrIqqJRTHOQF5EEOgG6rcEZg3Vu+8F7H49u1DvYBN 8CpCqUeb9Crlpo9maS3twHQfc9+gWv5zFDLn0= Hey list, Coming from userland I'm accustomed to the implicit memory barriers across mutexes as well as the OSAtomic functions. In kernel documentation though, there are hardly any mentions of barriers. (Particularly confusing is their omission from the kernel's version of OSAtomic.h, while they exist in the userspace version.) Do kernel-space mutexes and OSAtomic functions employ barriers? If not, isn't that unsafe? Thanks for your help! David _______________________________________________ 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... This email sent to site_archiver@lists.apple.com