Skip to content

Making the newlib thread-safe #4488

Open
@haukepetersen

Description

When calling puts/printf after thread_create(), the CPU hangs. This seems to be connected to the mutex used in the uart driver for syncing the DMA transfer in uart_write(). When disabling DMA for a quick test, everything works fine. So can it be, that the mutex is somehow effected when a new thread is created?

Metadata

Labels

Area: sysArea: SystemArea: toolchainArea: toolchains; everything related to compilation, libc, linking, …Impact: majorThe PR changes a significant part of the code base. It should be reviewed carefullyType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions