Skip to content

Conversation

@pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Aug 7, 2019

Historically, it used to be "PTHREAD", which is no longer true, as
POSIX subsys offers much more functionality than just Pthreads.

Signed-off-by: Paul Sokolovsky [email protected]

@pfalcon pfalcon added the area: POSIX POSIX API Library label Aug 7, 2019
Copy link
Member

@aescolar aescolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would you think about calling it POSIX_API instead?
(to be a bit clearer about what it is, and avoid confusion with the posix arch and native_posix)

@pfalcon
Copy link
Contributor Author

pfalcon commented Aug 7, 2019

What would you think about calling it POSIX_API instead?

Well, just implementing suggestion from @nashif: https://github.com/zephyrproject-rtos/zephyr/pull/15937/files#r294496946

(to be a bit clearer about what it is, and avoid confusion with the posix arch and native_posix)

I'm not sure that POSIX_API is the best choice then, something like "POSIX_SUBSYS" would be even clearer (and yeah, I'm not sure about that upper case). Will look into it.

Historically, it used to be "PTHREAD", which is no longer true, as
POSIX subsys offers much more functionality than just Pthreads. Use
detailed name, like "posix_subsys", to avoid possible confusion with
ARCH_POSIX-related matters.

Signed-off-by: Paul Sokolovsky <[email protected]>
@pfalcon pfalcon changed the title lib: posix: Use "POSIX" as the CMake lib for the subsystem. lib: posix: Use "posix_subsys" as the CMake lib for the subsystem. Aug 8, 2019
@pfalcon
Copy link
Contributor Author

pfalcon commented Aug 8, 2019

(to be a bit clearer about what it is, and avoid confusion with the posix arch and native_posix)

Ok, changes CMake lib name from "POSIX" to "posix_subsys". The patch was however reintegrated into #15937. @aescolar, Please consider approving that.

@pfalcon pfalcon closed this Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: POSIX POSIX API Library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants