Jump to content

[..] Multithreading with GLFW


Recommended Posts

Hi every body!

I have a small questions to the C pros befor I go making something long and boring:

I am creating a wrapper to GLFW, all OpenGL related stuff works well (creating a window, loading textures...), so it's good for this (PS: i'm gonna post it when i'm done)

But, GLFW has some multithreading functions (see the doc) and i just wanna know il AutoIt will be capable of getting these functions to work? I mean, introducing Multithreading to AutoIt!!! :oops:

I wanna know this befor making the wrappers, and find my self lost precious time!

Thanks for answering!

Link to comment
Share on other sites

You can get the functions to work but if you use them with a DLLCallback, AutoIt will crash since the interpreter is not threadsafe. The limitations are the same when using the Windows Thread API directly. GLFW only introduces another level of abstraction for OS independence (same function for Win, Linux, ...)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...