Announcement

Collapse
No announcement yet.

multithreading is it possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • multithreading is it possible?

    multithreading is it possible?

  • #2
    Only with a plugin AMS is not multithreaded at all so it wouldn't even be real multithread.
    Plugins or Sources MokoX
    BunnyHop Here

    Comment


    • #3
      It is absolutely possible when;
      • lua_lock is implemented;
      • You use coroutines (which is not actually multithreading);
      • You don't mess up the stack in your running thread;
      • You copy and sync the original Lua state.
      With either of these you can achieve multithreading or something like multithreading. You need access to the C-api for this. MemoryEx does this for several things, like the Subclass module
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment

      Working...
      X