[swift-corelibs-dev] Issue understanding libdispatch runloop poking

2017-10-12 Thread Rogiel Sulzbach via swift-corelibs-dev
I am trying to get libdispatch working on FreeBSD but I am hitting a wall: I cannot get my head around how the runloop implementation dispatches a event to the kqueue once a new job is submitted. So far I was able to get the library to fully compile but most tests are timing out due to a issue g

Re: [swift-corelibs-dev] Issue understanding libdispatch runloop poking

2017-10-12 Thread Pierre Habouzit via swift-corelibs-dev
> On Oct 12, 2017, at 7:48 AM, Rogiel Sulzbach wrote: > > I am trying to get libdispatch working on FreeBSD but I am hitting a wall: I > cannot get my head around how the runloop implementation dispatches a event > to the kqueue once a new job is submitted. So far I was able to get the > libra

Re: [swift-corelibs-dev] Issue understanding libdispatch runloop poking

2017-10-12 Thread Pierre Habouzit via swift-corelibs-dev
> On Oct 12, 2017, at 4:52 PM, Pierre Habouzit via swift-corelibs-dev > wrote: > >> On Oct 12, 2017, at 7:48 AM, Rogiel Sulzbach > > wrote: >> >> I am trying to get libdispatch working on FreeBSD but I am hitting a wall: I >> cannot get my head around how the runloop

Re: [swift-corelibs-dev] Issue understanding libdispatch runloop poking

2017-10-12 Thread Pierre Habouzit via swift-corelibs-dev
oh and last, while working on FreeBSD, we are killing support for pthread_workqueue_additem_np, pthread_workqueue_setdispatch_np and similar functions that are ancient and do not support all the required prioirties. in your port, please do not try to repair this support if it is broken, because