Am 13.02.2012 15:42, schrieb Alex Barcelo: > Configure tries, as a default, ucontext functions for the > coroutines. But now the user can force its use or disable > it at all (enable and disable flags) > > Signed-off-by: Alex Barcelo <abarc...@ac.upc.edu>
I think a better approach would be to have a --coroutines=[ucontext|sigaltstack|gthread|windows] option, with the appropriate default whereever it's possible to detect. This would allow to build with gthread based coroutines even when another option is available. Kevin