This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Win32 error in C program using openmp and fork()
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Jul 2013 09:04:03 -0400
- Subject: Re: Win32 error in C program using openmp and fork()
- References: <57302C57257EF2428CCAAF9BA83EC0448222C0EA at mbx08 dot adf dot bham dot ac dot uk> <20130722080657 dot GD2661 at calimero dot vinschen dot de> <51EE7700 dot 50803 at star dot sr dot bham dot ac dot uk>
On 7/23/2013 8:28 AM, Daniel Brown wrote:
I've wiped my old version of Cygwin and installed it fresh on my computer
and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win
7 x86
virtual machine and it worked, on a Win 8 x86 virtual machine though I see
the same error. Therefore I guess it is a Windows 8 issue
No, I can reproduce it consistently on my Windows 7 system, running
1.7.22, on both 32-bit and 64-bit. It also just happened to me while
running emacs. This is not reproducible, but it was previously reported
by another user:
http://cygwin.com/ml/cygwin/2013-07/msg00198.html
On 64-bit, the output is
$ ./openmp-test.exe
I'm an openmp thread...
I'm an openmp thread...
I'm an openmp thread...
I'm an openmp thread...
Parent fork
0 [main] openmp-test 6640
C:\cygwin64\home\kbrown\openmp-test.exe: *** fatal error in forked
process - failed to create new win32 semaphore, currentvalue 4294967294,
Win32 error 87
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple