donghengqaz commented on PR #6197: URL: https://github.com/apache/incubator-nuttx/pull/6197#issuecomment-1122256052
@pussuw The origin implement of esp_thread_semphr_get is based on `pthread_key`, but the registered callback is only called when the task is created by `pthread_create`, if the task is created by API which is not `pthread_create`, the callback is not called, then it cause memory leak. So I have to call the task private data to do this, if there is new feature to implement this, we can modify the code. -- 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. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org