Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9259

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium 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]

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

              Created:
              Updated:
              Resolved: