Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 1 checkin (+12/-6) by Henrik Grubbström (Grubba) <grubba@grubba.org> Lines added/removed recently

Monday 26 February 2018

2018-02-26 18:09:04 (2 years ago) by Henrik Grubbström (Grubba) <grubba@grubba.org>

Exit: Reorder the cleanup code somewhat.

exit_mc() calls exit_interleave_mutex(), which in turn calls
{init,exit}_threads_disable(), both of which mess with the
Pike_compile_cond. As the Pike_compile_cond is destroyed by
cleanup_pike_compiler() (called by cleanup_program()), make
sure that exit_mc() is called prior to cleanup_program().

Fixes issues on exit on some architectures and build options.

Potential fix for [PIKE-78]/[LysLysKOM 22448381].
Exit: Reorder the cleanup code somewhat.

exit_mc() calls exit_interleave_mutex(), which in turn calls
{init,exit}_threads_disable(), both of which mess with the
Pike_compile_cond. As the Pike_compile_cond is destroyed by
cleanup_pike_compiler() (called by cleanup_program()), make
sure that exit_mc() is called prior to cleanup_program().

Fixes issues on exit on some architectures and build options.

Potential fix for [PIKE-78]/[LysLysKOM 22448381].

[permalink]

Bugs? Suggestions?