Skip to content

sys: Add generic pipe#935

Merged
Kijewski merged 1 commit intoRIOT-OS:masterfrom
Kijewski:add-generic-pipe
Jul 28, 2014
Merged

sys: Add generic pipe#935
Kijewski merged 1 commit intoRIOT-OS:masterfrom
Kijewski:add-generic-pipe

Conversation

@Kijewski
Copy link
Copy Markdown
Contributor

This PR adds a generic pipe. You can write to it and read from it.
If the pipe is empty and one reads from it, then the threads gets laid to sleep. Same for writing.
The implementation takes care of interrupts, and won't send the current thread sleeping in an ISR.

[edit] This PR is (re)based on #933 #1101. [/edit]

@haukepetersen
Copy link
Copy Markdown
Contributor

I would suggest, that the changes to the ringbuffer go in its own PR.

And doxygen information is missing, have a look at https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions#documentation

@Kijewski
Copy link
Copy Markdown
Contributor Author

@haukepetersen please see #933.

@haukepetersen
Copy link
Copy Markdown
Contributor

seen and commented on :-)

@Kijewski Kijewski added this to the Release NEXT MAJOR milestone Apr 19, 2014
@mehlis
Copy link
Copy Markdown
Contributor

mehlis commented May 20, 2014

@Kijewski please rebase

@Kijewski
Copy link
Copy Markdown
Contributor Author

It doesn't make sense to rebase this before #1101 is merged.

@OlegHahm OlegHahm modified the milestones: FIX ME FIRST, Release NEXT MAJOR Jun 3, 2014
@Kijewski
Copy link
Copy Markdown
Contributor Author

Kijewski commented Jun 5, 2014

Rebased since it is a "FIX ME FIRST" PR. Still depends on #1101.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the include block should be positioned after the doxygen header

@haukepetersen
Copy link
Copy Markdown
Contributor

I give an ACK when comments are addressed.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Rebased and comments addressed. Please ACK #1101 first. :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these 2 lines do following RIOTs coding conventions also after the doxygen block :-)

@haukepetersen
Copy link
Copy Markdown
Contributor

ACK when you change this minor little style thingy...

@Kijewski
Copy link
Copy Markdown
Contributor Author

@haukepetersen
Copy link
Copy Markdown
Contributor

check :-)

Kijewski added a commit that referenced this pull request Jul 28, 2014
@Kijewski Kijewski merged commit 0e1d7c8 into RIOT-OS:master Jul 28, 2014
@Kijewski Kijewski deleted the add-generic-pipe branch July 28, 2014 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants