pthread_create() adds guardsize to pre-allocated stack [SYS/BIOS]

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • TIRTOS
    • TIRTOS-1814
    • 3.80.00
    • CORESDK_4_10_00
    • Hide
      pthread_create() should check if stack is non-NULL before adding guardsize to stacksize:

          taskParams.stack = pAttr->stack;
          taskParams.stackSize = pAttr->stacksize + pAttr->guardsize;

      in case user has passed in a stack (BIOS).

      FreeRTOS does not use guardsize, and does not have this problem.
      Show
      pthread_create() should check if stack is non-NULL before adding guardsize to stacksize:     taskParams.stack = pAttr->stack;     taskParams.stackSize = pAttr->stacksize + pAttr->guardsize; in case user has passed in a stack (BIOS). FreeRTOS does not use guardsize, and does not have this problem.

      pthread_create() adds guardsize to pre-allocated stack [SYS/BIOS]

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-1762 - pthread_create() adds guardsize to ...
                SYNCHRONIZED
                • Last Sync Date: