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.

-- 
p...@opsec.eu            +49 171 3101372                         5 years to go !
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to