Author Topic: multithreading in ng  (Read 272 times)

Offline meems

  • Sr. Member
  • ****
  • Posts: 281
multithreading in ng
« on: June 30, 2018, 03:15:40 PM »
how well is ng tested with threading? I've just split my process into 2 non overlapping threads and it causes problems : not the type of problems I'd expect with threads. Problems with 'tex's. Tried running in legacy and different problems, ones I'd expect from threading. I expect I'll be posting them here once I've minimized the code that creates the bug.

Offline meems

  • Sr. Member
  • ****
  • Posts: 281
Re: multithreading in ng
« Reply #1 on: June 30, 2018, 04:37:01 PM »
oh ok, i think i've figured it out. threads require their own call to Graphics, they can't use the global Graphics.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1511
Re: multithreading in ng
« Reply #2 on: July 01, 2018, 12:19:56 AM »
Graphics stuff should for now be run in the main thread.

Bye
Ron