anchao opened a new pull request #2260:
URL: https://github.com/apache/incubator-nuttx/pull/2260
## Summary
eventfd: remove the unique minor limit
## Impact
The unique minor limit of 255 will overflow easily in
some scenarios where eventfd needs to be create/destroy
frequently:
```
while (1)
{
fd = eventfd(0, 0); // minor++
sleep(1);
close(fd);
}
```
remove the unique minor limit.
Change-Id: I0ea1c825ce9b542c883166cb3e72574455ffdd0d
Signed-off-by: chao.an <[email protected]>
## Testing
eventfd create/destroy test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]