CVSROOT:        /cvs
Module name:    ports
Changes by:     es...@cvs.openbsd.org   2019/05/11 09:31:13

Modified files:
        infrastructure/lib/DPB: Core.pm Distfile.pm Engine.pm Job.pm 
                                Locks.pm PkgPath.pm PortBuilder.pm 
                                State.pm 
        infrastructure/lib/DPB/Job: Port.pm 
        infrastructure/lib/DPB/SubEngine: Build.pm 

Log message:
quite a few lock-related changes, mostly internal
- create a proper writelock object, so that we can pinpoint where we
lock to it
- accordingly, new write_parent interface to deal with writing parent
to a lock
- pass the Logger through to lockinfo, so we log any errors anyhow
- properly deal with stale hostlocks
- categorize lockfile names
- tweak the find_dependencies interface to be less bizarre
- tweak find_tag as well, so that Job/Port can log accurate info for
still_untainted.
- have jobs get an explicit cleanup_after_fork interface, so in addition
to the signal handlers, port jobs also lose their fd on the lock

Reply via email to