Skip to content

Commit

Permalink
Revert "ogr_proj_p.cpp: disable pthread_atfork() optimization on MacOS (
Browse files Browse the repository at this point in the history
fixes OSGeo#8497)"

This reverts commit 84717b5.

This is no longer needed since commit OSGeo@5238ac8
cf comment OSGeo#8909 (comment)
  • Loading branch information
rouault committed Dec 4, 2023
1 parent 5238ac8 commit a8134e1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ogr/ogr_proj_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@

#include "proj.h"

#if defined(__MACH__) && defined(__APPLE__) && defined(HAVE_PTHREAD_ATFORK)
// Works around a weird issue with GDAL, numpy and python threading on
// Mac. There is definitely something not understood, but as using pthread_atfork()
// is just an optimization, just disable it.
// Cf https://github.com/OSGeo/gdal/issues/8497 for details
#undef HAVE_PTHREAD_ATFORK
#endif

#ifndef _WIN32
#include <sys/types.h>
#include <unistd.h>
Expand Down

0 comments on commit a8134e1

Please sign in to comment.