Date: Sat, 03 Dec 2011 10:00:59 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Filippo Sironi <filippo.sironi@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: mmap implementation for cdev Message-ID: <11076.1322906459@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 03 Dec 2011 10:19:43 %2B0100." <A842C229-1846-408A-999A-9347770EFE7A@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <A842C229-1846-408A-999A-9347770EFE7A@gmail.com>, Filippo Sironi wri tes: >Ok, that's what I was suspecting. >Do you have any ideas on how to get the behavior I described in the = >previous mail? Why don't you just use mmap(2) ? I couldn't see anything you couldn't do with it. There's also support in pthread for thread specific storage, which should be your first choice. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11076.1322906459>