Skip to content

rust_port_detach is very inefficient #1924

Closed
@brson

Description

@brson

This function does a busy wait until there are no outstanding references to the port. I believe this is what's causing #1922 - under valgrind it serializes threads so we end up waiting a very long time.

Metadata

Metadata

Assignees

Labels

A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-slowIssue: Problems and improvements with respect to performance of generated code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions