You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "William San Filippo (JIRA)" <ji...@apache.org> on 2016/03/02 05:54:18 UTC

[jira] [Created] (MYNEWT-187) OS task minor cleanup

William San Filippo created MYNEWT-187:
------------------------------------------

             Summary: OS task minor cleanup
                 Key: MYNEWT-187
                 URL: https://issues.apache.org/jira/browse/MYNEWT-187
             Project: Mynewt
          Issue Type: Improvement
    Affects Versions: v0_8_0_beta1
            Reporter: William San Filippo
            Priority: Trivial
             Fix For: v0_8_0_beta2


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)