Hi, I have problem with malloc hanging when I SwitchToFiber. I have current environment: CYGWIN_NT-6.1 win7-dev 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 Cygwin (Windows 7, x64)
I am trying to use Windows Fibers API in cygwin environment. All is working fine, till the moment I call SwitchToFiber and then malloc. The processor CPU usage goes to 50% and after some time to 100%. In most cases this a result of memory corruption. In case I do not call malloc, all is working fine. Is this something to do with the stack? I made small test project attached to the email.
fiber.c
Description: Binary data
fiber.h
Description: Binary data
Regards Mihail
-- 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