cvs rm sys/posix4 && enable sem

Tom Rhodes trhodes at FreeBSD.org
Tue Nov 7 15:27:29 UTC 2006


On Tue, 7 Nov 2006 09:55:16 -0500
John Baldwin <jhb at freebsd.org> wrote:

> On Tuesday 07 November 2006 09:11, Tom Rhodes wrote:
> > Hi,
> > 
> > I spent some time this morning working over the P1003_1B_SEMAPHORES
> > option and figured I might as well play with the task of merging
> > posix4/ into regular sys.  In light of of this, I also enabled and
> > tested on all architectures, the sem module disabled by Alfred
> > for some unknown (later learned via old email) reason.
> > 
> > Does anyone object to the following:
> > 
> > 1: Repocopy posix4/* files to sys/sys and sys/kern;
> > 2: patch CURRENT for the change;
> > 3: remove posix4/*;
> > 4: enable sem module;
> > 5: add P1003_1B_SEMAPHORES to GENERIC;
> > 6: (eventually and maybe) merge psched.h and sched.h (I renamed
> >    posix4/sched.h to sys/psched.h in this patch).  This one is
> >    completely optional.
> > 
> > The included patch is pretty vanilla and does *most* of this,
> > not counting the repo-copy and added P1003_1B_SEMAPHORES to
> > GENERIC.  It also passes my universe build.  This also has the
> > side effect of differentiating between the two sched.h files we
> > have in the tree.  Thanks,
> 
> I think the psched.h rename needs more thought.  I think POSIX says that
> you include sched.h (not psched.h) for various APIs such as sched_yield(),
> sched_setscheduler(), etc.

I'd like to merge them and will gladly go that route if people
support it.  ;)

-- 
Tom Rhodes


More information about the freebsd-arch mailing list