apache / apache/nuttx

[FEATURE] Unified the argv parameters of pthread_create and kthread_create

Open
#14,564 2 comments 2 reactions 0 assignees View on GitHub
Type: Enhancement
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Is your feature request related to a problem? Please describe.

Currently, the argv types of pthread_create and kthread_create are different, which can cause confusion during use.

### Describe the solution you'd like

If the argv parameter of kthread_create can also be replaced with the void * type, it would achieve consistency in form and eliminate the need to dynamically calculate and store based on the number of argv arguments.

### Describe alternatives you've considered

_No response_

### Verification

- [X] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.