Uploaded image for project: 'MyNewt Docs'
  1. MyNewt Docs
  2. MYNEWTDOC-67

OS task minor cleanup

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Labels:

      Description

      While writing the OS documentation I noticed a few minor things with os_task.h.

      1) The padding for struct os_task_info is slightly off and the structure can be made slightly smaller by making the flags 8 bits.
      2) We no longer use OS_TASK_NAME_SIZE.

      For #1, all we need to do is mke t_flags in struct os_task 8 bits. We can then remove the padding from os_task_info.

        Attachments

          Activity

            People

            • Assignee:
              wes3 Will Sanfilippo
              Reporter:
              wes3 Will Sanfilippo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: