[Bug libgomp/58378] Protect libgomp against child process hanging after a Unix fork()

2013-09-10 Thread olivier.grisel at ensta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58378 --- Comment #6 from Olivier Grisel --- Alright thanks again. For reference I just discovered that the issue has recently been fixed in Python 3.4 by adding a new `forkserver` option to multiprocessing. http://bugs.python.org/issue8713

[Bug libgomp/58378] Protect libgomp against child process hanging after a Unix fork()

2013-09-10 Thread olivier.grisel at ensta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58378 --- Comment #4 from Olivier Grisel --- Thanks for the explanation. Would you consider a solution that would preserve the state of the parent process and would just reset the thread pool data on the child? Otherwise we will have to consider that t

[Bug libgomp/58378] Protect libgomp against child process hanging after a Unix fork()

2013-09-10 Thread olivier.grisel at ensta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58378 --- Comment #2 from Olivier Grisel --- What kind of breakage does this introduce? It's a real question, I am not an experienced OpenMP developer. Do you see any solution that would prevent libgomp-based programs such as mentioned in [1] to not ha

[Bug libgomp/58378] New: Protect libgomp against child process hanging after a Unix fork()

2013-09-10 Thread olivier.grisel at ensta dot org
Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: olivier.grisel at ensta dot org CC: jakub at gcc dot gnu.org Created attachment 30784 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30784&action=edit P

[Bug libgomp/52303] libgomp leaves threads lying around that cause trouble if the program is later fork()'d

2013-09-05 Thread olivier.grisel at ensta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52303 --- Comment #5 from Olivier Grisel --- The second option is basically was is being asked for at the end of this section: http://bisqwit.iki.fi/story/howto/openmp/#OpenmpAndFork

[Bug libgomp/52303] libgomp leaves threads lying around that cause trouble if the program is later fork()'d

2013-09-05 Thread olivier.grisel at ensta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52303 Olivier Grisel changed: What|Removed |Added CC||olivier.grisel at ensta dot org