fenv not inherited from parent thread
Hi, I'm trying to enable delivery of SIGFPE on floating point exceptions, which I'm able to do by manipulating the fenv, however the effect seems to be restricted to the current thread. According to http://en.cppreference.com/w/c/numeric/fenv and verified on Linux, the fenv is inherited from the parent thread. It appears that that is not the case on MacOS X (Mavericks 10.9). Is there a way to have threads inherit their parent's fenv? Am I just missing something obvious? Thanks, Niv -- Niv Drory -- McDonald Observatory / Dept. of Astronomy The University of Texas at Austin Tel: +1 (512) 471 6197 http://www.as.utexas.edu/~drory _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Niv Drory