Commit graph

11 commits

Author SHA1 Message Date
fhajny
de3f86459d devel/ivykis: Update to 0.42.3.
- Explicitly build with -D_REENTRANT on Solaris.
- Don't install IV_FD_PUMP_INIT.3 when on a case sensitive filesystem.
2018-05-14 16:23:51 +00:00
fhajny
2323810caa devel/ivykis: Force pthread support. Fixes syslog-ng crashes on SunOS
at least, as described in joyent/pkgsrc#64.
2018-01-12 14:33:14 +00:00
fhajny
3aa89e6f65 Update devel/ivykis to 0.42.2.
- Fix crash in __iv_event_run_pending_events().
- Hold a reference on the main loop for each registered iv_event.
2017-10-18 11:05:22 +00:00
fhajny
cb79b0da8b Update devel/ivykis to 0.42.1.
- Fix object reference counting bug when unregistering an expired timer.
- Fix segfault when calling IV_TASK_INIT() before iv_init().
2017-09-27 12:50:31 +00:00
wiz
5d86518619 Switch github HOMEPAGEs to https. 2017-07-30 22:32:10 +00:00
fhajny
b5b3418d0b Update devel/ivykis to 0.42.
- Fix ->set_poll_timeout() related bug with timers that expire at time zero.
2017-05-03 10:43:02 +00:00
fhajny
93bfe9d309 Update devel/ivykis to 0.41.
* A fix for the aarch64/ppc64 linker issue that has been plaguing us
  for a while (https://github.com/buytenh/ivykis/issues/6).  I don't
  have access to a ppc box, but I reproduced the problem in an aarch64
  (qemu-system-aarch64) virtual machine and fixed it there.

* libivykis.so now no longer pulls in libpthread.so, and linking
  against libpthread.so is now fully optional.  If libpthread isn't
  linked in, ivykis can perform various optimizations, such as
  skipping pthread mutex calls, and iv_event can skip creating an
  eventfd when running in single-threaded mode.

* iv_signal now lets you register a thread-specific signal interest,
  indicated by the IV_SIGNAL_FLAG_THIS_THREAD flag, for which the
  handler will be called when that signal is delivered to the thread
  the interest was registered in (and will not trigger if the signal
  is delivered to another thread in the process).
2017-01-04 11:45:50 +00:00
fhajny
d4612ba7d9 Update devel/ivykis to 0.40.
- Don't forget to ship src/pthr.h in 'make dist' generated tarballs.
- test/Makefile.am: Include dependencies for all test programs.
- Guard against multiple inclusion of mutex.h and pthr.h.
- Rename mutex_*() functions to __mutex_*().
- test/avl: Reduce test AVL tree size.
- Turn iv_validate_now() into a no-op.
- iv_fd: Let ->poll() return whether a timeout could have occurred.
- iv_fd: Allow timeout handling optimizations in poll methods.
- epoll: Implement ->set_poll_timeout() using timerfd_create(2).
- kqueue: Implement ->set_poll_timeout() using EVFILT_TIMER.
- port: Implement ->set_poll_timeout() using timer_create(3C).
- spinlock.h: Fix pthread_sigmask() pointer aliasing issue.
- Use a maxium event polling timeout of a day.
- iv_task: Allow task registered by another task to run immediately.
- Split off implementations of iv_thread_get_id() into separate files.
- Further mangle names of the __mutex_*() functions.
- Add EINTR check loops to a few more write(2) call instances.
- test/: Avoid long long printf format specifiers.
2016-11-04 10:47:36 +00:00
fhajny
110eaf7f16 Ignore epoll_create on non-Linux, too. Fixes SmartOS. Bump PKGREVISION. 2016-01-05 10:47:52 +00:00
fhajny
a2100d21c6 Explicitly avoid inotify on anything non-Linux. Fixes build. 2015-11-06 15:37:49 +00:00
fhajny
9962903671 Import ivykis 0.39 as devel/ivykis.
ivykis is a thin wrapper over various OS'es implementation of I/O
readiness notification facilities (such as poll(2), kqueue(2))
and is mainly intended for writing portable high-performance
network servers.
2015-11-01 13:38:52 +00:00