View email archives for the history of this mailing list.
systemc-forum - CreateFiber Vs CreateFiberEx
- To: "systemc-forum@xxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxx>
- From: "A, Nizamudheen" <niz@xxxxxx>
- Date: Fri, 26 Nov 2010 15:56:17 +0530
- Send Email to firstname.lastname@example.org:
- Send new message
- Reply to this message
I have a question in the OSCI SystemC reference implementation. The SystemC
kernel sc_cor_fiber.cpp file uses CreateFiber call to create a thread on
Windows OS. Is there a reason to use CreateFiber rather than CreateFiberEx?
CreateFiberEx gives a fine-grain control to fix the stack-size of the OS
thread/fiber being created (the CreateFiber also takes a stack-size parameter,
but in Windows OS, it is being overridden by the executable stack size value).