jlaitine commented on PR #17122: URL: https://github.com/apache/nuttx/pull/17122#issuecomment-3350386400
> @jlaitine how about tcb_s::name which contain filename pass from binfmt's exec_module by nxtask_init This is a bit difficult; tcb_s::name is just a name of the task. When the module creates threads, the name of these threads doesn't indicate the process binary name. In this case, one would need to first find the group pid, then calculate the pid hash to the kernel's hash table, go search the group leader's tcb in hash table and finally check the name from there. But every executing thread already has a pointer to the bin, so this was an easy place to store the binary filename... -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
