eal: simplify control thread creation
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Thu, 21 Oct 2021 21:32:20 +0000 (16:32 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 25 Oct 2021 19:43:10 +0000 (21:43 +0200)
Remove the usage of pthread barrier and replace it with
synchronization using atomic variable.
This also removes the use of reference count required to synchronize
freeing the memory.

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>

No differences found