Menu

#15 GetThreadByName shold have returntyope NUTTHREADINFO *

open-accepted
None
1
2009-01-04
2008-06-05
No

Returning NUTTHREADINFO * instead of HANDLE saves a cast and the option of casting to the wrong type. Also I can't see any reason why to use HANDLE.

Discussion

  • Harald Kipp

    Harald Kipp - 2008-06-16
    • priority: 5 --> 1
    • assigned_to: nobody --> haraldkipp
    • status: open --> open-accepted
     
  • Harald Kipp

    Harald Kipp - 2008-06-16

    Logged In: YES
    user_id=303906
    Originator: NO

    Agreed. Same is true for NUTTIMERINFO etc.

    However, as this may break existing application code, I prefer to delay this change until 4.7 beta.

    Thanks.

    Btw. this is a feature request, not a bug.

     
  • Correa

    Correa - 2009-01-04
    • labels: 528519 -->
    • milestone: 144302 -->
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.