]> git.ipfire.org Git - thirdparty/automake.git/commit
threaded-am: better serialization for required config files
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Oct 2011 15:27:42 +0000 (17:27 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Oct 2011 19:46:07 +0000 (21:46 +0200)
commitf672944356eaaf47b1cdb3a167431ec33a3f6b9c
tree67615570d4981246c58de308d6339eaca31a74e1
parent75ce360ef4fde820ba6f1f974c6a1a9911b68461
threaded-am: better serialization for required config files

With this change, we make serialization/de-serialization of
required config files installs more granular, and in the process
fix the bug introduced by commit `v1.11-1219-g326ecba'.

* automake.in ($required_conf_file_queue): Move its declaration
earlier.
(require_file_internal): Add a new argument telling whether the
function should act immediately or queue its action for the master
thread to handle.
(queue_required_conf_file): Renamed ...
(queue_required_file_check_or_copy): ... to this.
(require_queued_conf_file): Renamed ...
(require_queued_file_check_or_copy): ... to this, and make it call
`required_file_check_or_copy' instead of `require_file_internal'.
(require_conf_file, handle_makefiles_threaded): Adjust and simplify
accordingly.
* tests/Makefile.am (XFAIL_TESTS): Remove `parallel-am.test'.
ChangeLog
automake.in
tests/Makefile.am
tests/Makefile.in