threads in max?
BlitzMax Forums/BlitzMax Programming/threads in max?
| ||
must have been an update i missed. dont suppose there is any 1,2,3 step code to demo the syntax and use of threads in max? dont have access to my max install atm to check the manual. |
| ||
I would suggest looking at the numerous threads on the forums discussing threads in Max. There have been several over the many, many months since threads were added. |
| ||
Just launch the IDE and click on Samples -> Threads in the listview on the right. |
| ||
Just launch the IDE and click on Samples -> Threads in the listview on the right. Did you read his last sentence? *big grin* |
| ||
Well, this is how you create threads.Strict Function ThreadFn:Object(data:Object) Print data.ToString() End Function TThread.Create(ThreadFn, "Some data or whatever as long as it's an object") |
| ||
Did you read his last sentence? *big grin* Ah... |
| ||
Threading was added to Max in v1.32. They haven't been added to the online manual or wikibook yet though. Here's some useful links. > BlitzMax V132 for Windows and MacIntel now up! > An overview of the experimental thread module. - tutorial > Blitzmax threading examples thread > Threads - Same resource I suppose it won't hurt to repost the docs from modules/system/threads here. See below. |
| ||
Removed. :P Post was doc for System/Threads but I added a wikibook page instead so there's no need for it here too. |
| ||
That's cheating. >_> |
| ||
Would it be cheating if I just linked to the wikibook page instead, like this? http://en.wikibooks.org/wiki/BlitzMax/Modules/Brl/Threads |
| ||
Sure, let's make that cheating too. |
| ||
Is this some kind of exam? |
| ||
Yes. |
| ||
Ok. |