patch: 7_polling

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas.Eversberg Andreas.Eversberg at versatel.de
Thu May 21 12:27:36 UTC 2009


 
An application that has own events and file descriptors, must poll
select function ob libbsc. A "polling" flag is used to enable polling.
In this case select() will not sleep until file descriptor events occurr
or nearest timer expires. Also a return value will indicate if there was
an event that has been handled. If there was an event, the application
decides to poll again and don't wait.

In case for bsc_hack, the polling flag is not set. select will sleep as
usual.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090521/02dde977/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7_polling.patch
Type: application/octet-stream
Size: 3514 bytes
Desc: 7_polling.patch
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090521/02dde977/attachment.obj>


More information about the OpenBSC mailing list