Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
1604ae7c
Commit
1604ae7c
authored
7 years ago
by
Jussi Kivilinna
Committed by
Gregory Nutt
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
drivers/pipes: pipe_common: fix writing large buffers not triggering POLLIN for reader poll
parent
7b2c2d6b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/pipes/pipe_common.c
+5
-1
5 additions, 1 deletion
drivers/pipes/pipe_common.c
with
5 additions
and
1 deletion
drivers/pipes/pipe_common.c
+
5
−
1
View file @
1604ae7c
...
...
@@ -585,7 +585,7 @@ ssize_t pipecommon_write(FAR struct file *filep, FAR const char *buffer,
sem_post
(
&
dev
->
d_rdsem
);
}
/* Notify all poll/select waiters that they can
write to
the FIFO */
/* Notify all poll/select waiters that they can
read from
the FIFO */
pipecommon_pollnotify
(
dev
,
POLLIN
);
...
...
@@ -607,6 +607,10 @@ ssize_t pipecommon_write(FAR struct file *filep, FAR const char *buffer,
{
sem_post
(
&
dev
->
d_rdsem
);
}
/* Notify all poll/select waiters that they can read from the FIFO */
pipecommon_pollnotify
(
dev
,
POLLIN
);
}
last
=
nwritten
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment