Qt equivalent to Win32 Fibers.
I am responsible for a Windows application that loads up plugin "script" dll's written in c++.

The application exposes an API based on Win32 fibers to allow the c++ 'scripts' in the plugin dlls to use 'yield' and 'resume' type calls - essentially co-routines - to sequence the dependencies in the scripts without resorting to an asynchronous event architecture.

Now, I am looking at porting the app to Mac and or Linux, and the option of using a framework like Qt has come up.

Qt however seems only to support proper asynchronous threads, not lightweight synchronous threading primitives similar to Win32 fibers.

Is there a Win32 Fibera analog on Cocoa, or in a crossplatform framework like Qt?

Qt equivalent to Win32 Fibers.
===

I am responsible for a Windows application that loads up plugin "script" dll's written in c++.

The application exposes an API based on Win32 fibers to allow the c++ 'scripts' in the plugin dlls to use 'yield' and 'resume' type calls - essentially co-routines - to sequence the dependencies in the scripts without resorting to an asynchronous event architecture.

Now, I am looking at porting the app to Mac and or Linux, and the option of using a framework like Qt has come up.

Qt however seems only to support proper asynchronous threads, not lightweight synchronous threading primitives similar to Win32 fibers.

Is there a Win32 Fibera analog on Cocoa, or in a crossplatform framework like Qt?
