]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc/tst-mallocfork2: Use process-shared barriers
authorFlorian Weimer <fweimer@redhat.com>
Wed, 8 May 2019 13:29:13 +0000 (15:29 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 8 May 2019 13:29:13 +0000 (15:29 +0200)
commitb2f601ba9ac02bf069fd6d8aa925ed15445fd02b
treec59fc43d7a4652fc3214a7891377289b0c347d81
parent7621676f7a5130c030f7fff1cab72dbf2993b837
malloc/tst-mallocfork2: Use process-shared barriers

This synchronization method has a lower overhead and makes
it more likely that the signal arrives during one of the critical
functions.

Also test for fork deadlocks explicitly.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
ChangeLog
malloc/Makefile
malloc/tst-mallocfork2.c