How to enable "Multithreading"

  • baizuo
    21st Apr 2011 Member 0 Permalink
    During translating the TPT (see Wiki), I found this:
    "Multithreading enabled\n"

    "Multithreading disabled\n"

    How to enable this? My processor have two cores, this might helps
  • vanquish349
    21st Apr 2011 Member 0 Permalink
    @baizuo (View Post)
    can i have a link to it i cant seem to find it
  • me4502
    21st Apr 2011 Member 0 Permalink
    @vanquish349 (View Post)
    It's in main.c I think. I found it while making my mod
  • vanquish349
    21st Apr 2011 Member 0 Permalink
    @me4502 (View Post)
    ohhh i see, i thought it was a page in the wiki explaining how to multi thread
  • Simon
    21st Apr 2011 Administrator 0 Permalink
    In older versions there was some primitive multithreading in the code (though it was never enabled) unfortunately, most of this code has been lost over time, it's no longer possible to build the Powder Toy source with multithreading.
  • baizuo
    21st Apr 2011 Member 0 Permalink
    @Simon (View Post)
    What a pity. Thanks for replying

    BTW, where can I get more/full console command list? It looks rather amazing
  • me4502
    21st Apr 2011 Member 0 Permalink
    @Simon (View Post)
    Has anyone tried repairing the code?
  • HeyJD
    21st Apr 2011 Member 0 Permalink
    @baizuo (View Post)
    The bottom of main.c has all the commands.
  • mniip
    21st Apr 2011 Developer 0 Permalink
    multi-thread has no connection to cores of processor. As you may know operating system runs several processes at one time. And it is multi-threading of system. And the multi-threading of TPT means that it does several tasks at one time.
  • The-Con
    21st Apr 2011 Member 0 Permalink
    only multi-core processors can do more then one thing at the same time. Processes in a single core computer alternate between eachother to make it seem as if they are doing two things at the same time. (fast alternating)

    Its a shame that the coding is lost :(