Skip to content

Conversation

@stephanosio
Copy link
Member

@stephanosio stephanosio commented Jun 4, 2021

This commit sets CT_LIBC_NEWLIB_MULTITHREAD=y and
CT_LIBC_NEWLIB_NANO_MULTITHREAD=y in order to enable multithread
build of newlib (i.e. build without __SINGLE_THREAD__ defined).

This option must be specified to support newlib multithreading in the
Zephyr RTOS.

When these configs are not set to y, --disable-newlib-multithread
is specified during newlib configuration.

For more details, see #343.

Signed-off-by: Stephanos Ioannidis [email protected]

Fixes #343.

@stephanosio stephanosio requested review from carlescufi and galak June 4, 2021 16:54
@stephanosio stephanosio added bug priority: medium Medium impact/importance issue labels Jun 4, 2021
@galak
Copy link
Contributor

galak commented Jun 6, 2021

Can you update the release-notes.md

This commit sets `CT_LIBC_NEWLIB_MULTITHREAD=y` and
`CT_LIBC_NEWLIB_NANO_MULTITHREAD=y` in order to enable multithread
build of newlib (i.e. build without `__SINGLE_THREAD__` defined).

This option must be specified to support newlib multithreading in the
Zephyr RTOS.

When these configs are not set to `y`, `--disable-newlib-multithread`
is specified during newlib configuration.

For more details, see zephyrproject-rtos#343.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio force-pushed the enable_newlib_multithread branch from 18e35ce to 6fa5021 Compare June 6, 2021 19:38
@stephanosio
Copy link
Member Author

Can you update the release-notes.md

@galak Done

@galak galak merged commit bec8530 into zephyrproject-rtos:master Jun 10, 2021
@stephanosio stephanosio deleted the enable_newlib_multithread branch June 12, 2021 13:43
@stephanosio stephanosio added this to the 0.13.0 milestone Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium Medium impact/importance issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

newlib is compiled with __SINGLE_THREAD__ defined

2 participants