Alexey Plotnik
408b8c86dd
test: fix compilation issues on Windows platform
...
PR-URL: https://github.com/indutny/uv_link_t/pull/3
2017-06-14 14:16:12 -04:00
Fedor Indutny
6daf0c2c31
test: use mini-test.c
2017-04-16 15:41:57 -04:00
Fedor Indutny
af170cc9bb
api: experimental error reporting
2016-06-04 15:44:18 -04:00
Fedor Indutny
a66bb042e0
Revert "api: `uv_link_strerror`"
...
This reverts commit 0799c7c91e
.
2016-06-04 14:46:01 -04:00
Fedor Indutny
0799c7c91e
api: `uv_link_strerror`
2016-06-04 14:37:26 -04:00
Fedor Indutny
41a0b873de
defaults: stop reading on error
2016-06-04 10:33:26 -04:00
Fedor Indutny
201448c9bb
src: error or NULL links they happen on close
...
Right after `uv_link_close()` all links will be unchained, meaning that
they `link->parent` is NULL. Instead of crashing on calls like:
`uv_link_try_write(link->parent, ...)`
Make them return `UV_EFAULT`, indicating that no parent is present
anymore. Alternatively, these checks could be done in user code, but it
will make it too cumbersome.
2016-06-03 14:52:38 -04:00
Fedor Indutny
88ffbdbeba
test: add test for close protection
2016-06-03 13:59:37 -04:00
Fedor Indutny
d4069cc59b
api: inherit structs from uv_link_t
2016-05-27 23:50:46 -04:00
Fedor Indutny
3523bbda22
src: simplify uv_link_close
2016-05-27 21:40:29 -04:00
Fedor Indutny
9f6eff6911
include: close callbacks
2016-05-27 21:06:45 -04:00
Fedor Indutny
d7de504f56
api: simplify
2016-05-27 12:16:05 -04:00
Fedor Indutny
800432e83e
include: add `arg` to write/shutdown
2016-05-27 09:59:45 -04:00
Fedor Indutny
aa6a92fdd3
test: simplify
2016-05-26 19:59:01 -04:00
Fedor Indutny
48828a62ee
uv_link_t: pass source to write/shutdown
2016-05-26 18:10:04 -04:00
Fedor Indutny
e018867ffa
include: invoke => propagate
2016-05-26 04:01:13 -04:00
Fedor Indutny
27b6c247c5
src: move methods to separate read-only structure
2016-05-26 02:50:14 -04:00
Fedor Indutny
1e6358c6e2
test: kind of run all
2016-05-26 02:06:03 -04:00
Fedor Indutny
a4e614177a
test: uv_link_observer_t test
2016-05-26 01:58:55 -04:00
Fedor Indutny
5649bb2eef
src: shuffle files around
2016-05-26 00:27:08 -04:00
Fedor Indutny
9b0a792a84
test: basic test
2016-05-26 00:14:25 -04:00