tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Introduce curlwp_bind and curlwp_unbind for psref(9)
On Wed, Jun 15, 2016 at 10:56:57AM +0900, Ryota Ozaki wrote:
> On Tue, Jun 14, 2016 at 7:58 PM, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
> > On Tue, Jun 14, 2016 at 09:53:33AM +0900, Ryota Ozaki wrote:
> >> - curlwp_bind and curlwp_unbind
> >> - curlwp_bound_set and curlwp_bound_restore
> >> - curlwp_bound and curlwp_boundx
> >>
> >> Any other ideas? :)
> >
> > curlwp_bind_push / curlwp_bind_pop
>
> Hmm, I think the naming fits in if Linux, but not in NetBSD.
> And
> bound = curlwp_bind_push();
> ...
> curlwp_bind_pop(bound);
> looks odd to me.
bound = curlwp_bind_get(); curlwp_bind_put(bound)?
Dave
--
David Young //\ Trestle Technology Consulting
(217) 721-9981 Urbana, IL http://trestle.tech
Home |
Main Index |
Thread Index |
Old Index