R12 C4DThread keeprunning



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 15/09/2010 at 07:33, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :     C++  ;

    ---------
    Hi,

    the C4DThread class has a parameter "keeprunning" in version < 12.
    R12 doesn't have this anymore, is this now true or false by default?
    The transitioning docs don't give a clue.

    Thanks



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/09/2010 at 01:48, xxxxxxxx wrote:

    Pre R12 this flag was used to assign a BaseThread exactly to a OS thread. Whenever Start() was called always the same OS thread was started. This had some advantages for software that interfaces with the OS. Since R12 there exists an internal thread pool which very much improved thread starting times and made keeprunning obsolete (for most cases). In case an assignment to an OS thread for the lifetime of a BaseThread is needed (should be only rarte cases) you can use THREADMODE_BIND_TO_THREAD.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/09/2010 at 22:43, xxxxxxxx wrote:

    ah ok.

    Thanks very much


Log in to reply