diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-15 14:08:19 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-15 14:08:19 -0800 |
| commit | e7f2bd6e34fa2af9f55f200cda4bb6ceecb2ee89 (patch) | |
| tree | d4b08182ebe529d36059c251176d2c1066a45ead /tests | |
| parent | 45bc175ef9278c175d2fc3a0678b49b18e74c449 (diff) | |
| download | nng-e7f2bd6e34fa2af9f55f200cda4bb6ceecb2ee89.tar.gz nng-e7f2bd6e34fa2af9f55f200cda4bb6ceecb2ee89.tar.bz2 nng-e7f2bd6e34fa2af9f55f200cda4bb6ceecb2ee89.zip | |
Simply posix pollq architecture somewhat.
This change is being made to facilitate the work done for the
kqueue port. We have created two new functions, nni_posix_pollq_init
and nni_posix_pollq_fini, which can be used when creating or destroying
the pollq nodes. Then nodes are *added* and *removed* from the pollq
structure with nni_posix_pollq_add and nni_posix_pollq_remove. The
add function in particular MUST NEVER be called unless the node has
a valid file descriptor.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
