summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_lock.c')
-rw-r--r--src/lib/eina/eina_lock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eina/eina_lock.c b/src/lib/eina/eina_lock.c
index 9c560df38e..aa085cd15a 100644
--- a/src/lib/eina/eina_lock.c
+++ b/src/lib/eina/eina_lock.c
@@ -52,9 +52,12 @@ _eina_spinlock_macos_release(Eina_Spinlock *spinlock)
#endif /* EINA_HAVE_OSX_SPINLOCK */
+Eina_Bool fork_resetting;
+
EAPI void
_eina_lock_debug_abort(int err, const char *fn, const volatile void *ptr)
{
+ if (fork_resetting) return;
fprintf(stderr, "EINA ERROR: '%s' on %s %p\n", strerror(err), fn, ptr);
#ifdef EINA_HAVE_DEBUG_THREADS
abort();