Files
Marcin Smoczyński d6aa228726 [EGD-7770] Fix atomic stability
Add global __GTHREADS definition to trick standard library into thinking
we have a proper threading support and that it should not used single
threaded locking policies. As a result shared pointers will use atomic
locking policy to synchronize access to reference counter.

Add own version of gthr.h to override __gthread_active_p.

Add cxa guard and release for globs.

Looks like there was conflict when __GTHREADS was set so own version of
atomicity.h is removed.

Co-authored-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Tested-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Tested-by: Tomasz Krosnowski <tomasz.krosnowski@mudita.com>
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-10-15 14:14:27 +02:00
..
2021-02-17 17:06:59 +01:00