cvs commit: ports/devel/dbus Makefile ports/devel/dbus/files
patch-bus_dir-watch.c
Joe Marcus Clarke
marcus at FreeBSD.org
Sat Jul 2 19:17:43 GMT 2005
marcus 2005-07-02 19:17:42 UTC
FreeBSD ports repository
Modified files:
devel/dbus Makefile
devel/dbus/files patch-bus_dir-watch.c
Log:
Fix a CPU hog problem with dbus running in fork mode. Kqueue is not shared
across fork(), and thus the file descriptor kevent was trying to read from
was actually pointign to /dev/null. This caused dbus to eat up 100% of the
CPU. Of course, tests with --nofork worked just fine.
The new approach will detect if the kqueue has been closed, a reopen it
after the fork.
Revision Changes Path
1.25 +1 -1 ports/devel/dbus/Makefile
1.2 +15 -4 ports/devel/dbus/files/patch-bus_dir-watch.c
More information about the cvs-all
mailing list