{"push_id":1177477494,"size":5,"distinct_size":5,"ref":"refs/heads/epoll-pr","head":"f3374a284d007e8a9e0fe66affd667367b45e266","before":"aef2bc33b309ce96fd1eac7bcb3a2dd5a67fc596","commits":[{"sha":"5a33858c2b57794024397810f47003b408b4b8b4","author":{"name":"Murilo Belluzzo","email":"39c17ef13b86a5acf26d1f67dc3e6b8738e2e454@intel.com"},"message":"AP_HAL: Change the return type of 'peekiovec'\n\nPossible values are '0', '1' and '2' so uint8_t is a better fit.","distinct":true,"url":"https://api.github.com/repos/mbelluzzo/ardupilot/commits/5a33858c2b57794024397810f47003b408b4b8b4"},{"sha":"e4a26ed153e50e464f9ef93164e1e5882de25a83","author":{"name":"Murilo Belluzzo","email":"39c17ef13b86a5acf26d1f67dc3e6b8738e2e454@intel.com"},"message":"AP_HAL: Fix ByteBuffer::reserve() breaking buffer state\n\nWhen using reserved(), the reserved memory cannot be read before it's\nwritten, therefore we cannot update 'tail' until the caller of\nreserved() is done writing.\n\nTo solve that, a method called 'commit()' was added so the caller can\ninform that is done with the memory usage and is safe to update 'tail'.\nThe caller also has to inform the length that was actually written.\n\nThis solution was developed to work considering the usage context of\nthis class: 1 reader and 1 writer **only**.","distinct":true,"url":"https://api.github.com/repos/mbelluzzo/ardupilot/commits/e4a26ed153e50e464f9ef93164e1e5882de25a83"},{"sha":"b36e3ab24b79dcf4453a478a2167b655245a3e22","author":{"name":"Leandro Pereira","email":"ca4a1208c824c80a70c574fac3c14e6865e7b955@intel.com"},"message":"AP_HAL_Linux: Add Pollable/Poller\n\nThis patch is the first in a series to move I/O off of timer thread and\nuse the system's polling infrastructure to be notified whenever a\nfile descriptor is ready to be read from or written to.\n\nAdds a few classes:\n  * Poller, as an interface to epoll()\n  * Pollable, as an interface to a file descriptor\n  * BufferedPollable, that has read and write ring buffers\n  * PacketedBufferedPollable, that's used for MAVLink packets\n\nThe `packetise` flag from UARTDriver has been removed, and the\nwrite()-call-per-MAVLink-message has been slightly improved from a\nperformance perspective (fast byte scans, etc), and improved from a\nreadability perspective (ByteBuffer from AP_HAL is used instead of an open\ncoded version).  This is what PacketedBufferedPollable is doing.","distinct":true,"url":"https://api.github.com/repos/mbelluzzo/ardupilot/commits/b36e3ab24b79dcf4453a478a2167b655245a3e22"},{"sha":"1082b6947fda18bafd08f4afd0dc8f132b515b9b","author":{"name":"Leandro Pereira","email":"ca4a1208c824c80a70c574fac3c14e6865e7b955@intel.com"},"message":"AP_HAL_Linux: Add Poller task\n\nThis is a simple task and interface that allows registering pollable\nevents and have callback methods be called whenever they happen.\n\nThis is still not the best interface possible, as one might want to\nhave a few more threads, with different priorities and scheduling\nproperties (for instance, a RT thread for sensors and FIFO thread for\nlow priority IPC).  This will evolve as the need arises.","distinct":true,"url":"https://api.github.com/repos/mbelluzzo/ardupilot/commits/1082b6947fda18bafd08f4afd0dc8f132b515b9b"},{"sha":"f3374a284d007e8a9e0fe66affd667367b45e266","author":{"name":"Murilo Belluzzo","email":"39c17ef13b86a5acf26d1f67dc3e6b8738e2e454@intel.com"},"message":"AP_HAL_Linux: Fix Poller usage of the RingBuffer\n\nCommit the changes in the RingBuffer after finish write on it so the\nRingBuffer knows that the reserved memory is read to be ready.","distinct":true,"url":"https://api.github.com/repos/mbelluzzo/ardupilot/commits/f3374a284d007e8a9e0fe66affd667367b45e266"}]}
{"actor":{"display_login":"mbelluzzo"}}