Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2015 21:49:09 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Anyone got RethinkDB working in FreeBSD?
Message-ID:  <20150913194909.GS36682@home.opsec.eu>
In-Reply-To: <h9my-e36a-wny@FreeBSD.org>
References:  <20150911152118.GK36682@home.opsec.eu> <20150911162225.GU13922@pol-server.leissner.se> <20150911171305.GL36682@home.opsec.eu> <20150911192801.GM36682@home.opsec.eu> <20150912090128.GN36682@home.opsec.eu> <55F4E408.6010204@freebsd.org> <20150913085345.GO36682@home.opsec.eu> <20150913104015.GQ36682@home.opsec.eu> <20150913130624.GR36682@home.opsec.eu> <h9my-e36a-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> > Like this in src/arch/io/timer/timer_signal_provider.cc:
> >
> > evp.sigev_notify_thread_id = _gettid();
> 
>   evp.sigev_notify_thread_id = pthread_getthreadid_np();

Thanks, will try.

> > which is linux-specific. I'm trying to understand whether
> > this can be replaced by pthread_self() somehow.
> 
> Why not use kqueue code like OS X? And maybe salvage prior work
> 
> https://github.com/rethinkdb/rethinkdb/pull/688

Thanks for the pointer, I was not aware of this.

I had a look at the kqueue variant, but the kqueue code assumes
some OS-X specific elements. Let's get it to build first as
a port, then do more fine-tuning.

-- 
pi@opsec.eu            +49 171 3101372                         5 years to go !



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