-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
sys: newlib: use double-lock scheme for uart ringbuffer #3111
Conversation
2f54d21
to
052470c
Compare
(last minute fix amended) |
ACK, waiting for Travis. |
Something is going on with Travis. Travis skipped everything.. |
@kaspar030 rebase after #3122 is merged |
works on the samr21 and looks sane to me. ACK here, too. |
needs rebase. I think I forgot to remove my _read_r fix from #3101 before it was merged so this needs a rebase. |
052470c
to
be50f8b
Compare
|
I checked on iot_lab-M3 after rebase, but could someone take a quick look if the rebase went alright, and then press merge? |
rebase looks fine, &go! |
sys: newlib: use double-lock scheme for uart ringbuffer
No need for a loop in
_read_r()
.Also fixes count > rb.avail
bug.(vgl #3110).