patacongo opened a new pull request #1873:
URL: https://github.com/apache/incubator-nuttx/pull/1873


   ## Summary
   
   Move sched/task/task/task_gettid.c to libs/libc/unistd/lib_gettid.c.  
gettid() is a dumb wrapper around getpid().  It is wasteful of resources to 
support TWO systme calls, one for getpid() and one for gettid().  Instead, move 
gettid() in the C library where it calls the single sysgtem call, getpid().  
Much cleaner.
   
   ## Impact
   
   Re-organization only.  There should be no functional change.
   
   ## Testing
   
   The only verification is checking that moved code compiles without error
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to