On Wed, 4 Mar 2015 01:08:38 +0800 YunQiang Su <wzss...@gmail.com> wrote: > On Thu, 5 Feb 2015 15:51:27 +0000 Dejan Latinovic > <dejan.latino...@imgtec.com> wrote: > > > > > > > > Hello, > > > > Yes, we could use __sync_synchronize() an non x86 archs. > > > > It is also needed to define rte_pause. > > > > The patch that solves this issue for me is attached. > > > > I had tested it on mips, mipsel and amd64. > > > > > > > > Could you please consider including this patch. > > another snap may also needed for kFreeBSD support. > > --- masscan-1.0.3-90-g2441f18~ds0.orig/src/pixie-threads.c > 2014-10-15 21:05:50.000000000 +0800 > +++ masscan-1.0.3-90-g2441f18~ds0/src/pixie-threads.c 2015-03-04 > 01:01:07.717862461 +0800 > @@ -180,7 +180,7 @@ > #if defined(WIN32) > UNUSEDPARM(flags); > return _beginthread(worker_thread, 0, worker_data); > -#elif defined(__linux__) || defined(__APPLE__) || > defined(__FreeBSD__) || defined(__OpenBSD__) > +#elif defined(__linux__) || defined(__APPLE__) || > defined(__FreeBSD__) || defined(__kFreeBSD__) || defined(__OpenBSD__) > > typedef void *(*PTHREADFUNC)(void*); > pthread_t thread_id; >
I uploaded this packages with the attached patch to 5-days delay queue. > > > > > > > Regards, > > Dejan > >
masscan-773786.debdiff
Description: Binary data