Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2005 22:21:34 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        Scott Long <scottl@samsco.org>, src-committers@freebsd.org, Doug Ambrisko <ambrisko@ambrisko.com>, John Baldwin <jhb@freebsd.org>, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sys signal.h
Message-ID:  <Pine.GSO.4.43.0512072210410.27928-100000@sea.ntplx.net>
In-Reply-To: <43977A05.5050608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Dec 2005, David Xu wrote:

> Daniel Eischen wrote:
> >>So will there be some sort of compatibility shims?  I bet that there
> >>will still be a lot of 4.x binaries being run on 7.0 systems in the
> >>future, just like 2.2.8 binaries were being run for years after 3.x and
> >>4.x came out.
> >>
> >>
> >
> >Yeah, and we can implement the shims in versioned libraries ;-)
> >
> At least, util now, there is no binary compatible problem. but I would like
> we will implement SIGEV_THREAD before 7.0, this is why I requested you
> to implement it ASAP because you claimed you will do it, so I just
> sit back. Current only libthr implemented SIGEV_THERAD for timer, I can
> implement it for mqueue, but aio syscall interface sucks, need more time
> for it.

I was going to do it in libc so it doesn't have to be done by each
thread library.

But there are still aio_* syscalls that haven't been changed to have
compat syscalls.  You did aio_read, aio_write, and lio_listion, but
not aio_error, aio_return, aio_suspend, aio_cancel, and aio_waitcomplete.
I think these really need compat syscalls due to the different layout of
struct sigevent (because it affects layout of struct aiocb).

I don't think Library-level shims aren't going to help in the case of
statically built binaries.

-- 
DE




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0512072210410.27928-100000>