Thread-safety of C node API
We should clearly document, which parts of the C node API are thread-safe and which not. Also, we should try to make more functions thread-safe, if possible.
Example: The dora_next_event function casts the given context pointer to a &mut DoraContext in Rust, which must be an exclusive reference. So calling the function concurrently with the same context pointer violates this requirement and leads to undefined behavior. However, the underlying flume channel supports receiving elements through shared references, so we might be able to make dora_next_event thread-safe.
Hi there,
I would like to work on it,
@phil-opp please assign me for the contribution.
Thank You.
Hi there,
I would like to work on it,
@phil-opp please assign me for the contribution.
Thank You.
you're assigned to it!
@SanjayUG has been automatically unassigned from this stale issue after 2 weeks of inactivity.