Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2011 12:26:17 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-emulation@freebsd.org
Subject:   [patch] draft to add support for futex operators FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET to the linuxulator
Message-ID:  <20110129122617.GA77148@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi there,

i've spent a couple of hours hacking support for futex operators
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET into the linuxulator. the following
patch is far from perfect and in certain places it is probably doing the wrong
thing, however it doesn't seem to break anything.

i'd appreciate if somebody could have a look at the patch and point out any
issues. please note that the patch also contains a few unrelated comment
changes and such (however only very few).

thanks in advance.

the patch can be found in here:

http://people.freebsd.org/~arundel/drafts/futex.diff

the following linux commit message should give you a rough idea about the
purpose of both operators:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=commit;h=cd689985cf49f6ff5c8eddc48d98b9d581d9475d

cheers.
alex

-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110129122617.GA77148>