Stjepan Glavina
|
e46e410d86
|
Always re-register IoEvent
|
2020-05-17 10:58:06 +02:00 |
Stjepan Glavina
|
21e65af190
|
Fix a missing line in docs
|
2020-05-17 10:00:39 +02:00 |
Yin Guanhao
|
f267ab1152
|
Correctly detect TCP connection failures on Windows
|
2020-05-15 10:13:47 +08:00 |
Stjepan Glavina
|
807456699a
|
Fix broken doc links
|
2020-05-14 20:32:12 +02:00 |
Stjepan Glavina
|
2ff45ece44
|
Fix re-registration
|
2020-05-14 20:25:33 +02:00 |
Stjepan Glavina
|
ee6a0bce4d
|
rename an argument
|
2020-05-14 20:00:33 +02:00 |
Jagadesh Adireddi
|
19a1a11583
|
change to modify socket with notifier.
|
2020-05-12 18:58:01 +05:30 |
Stjepan Glavina
|
2071f2a481
|
Merge pull request #106 from stjepang/blocking
Replace the blocking executor with blocking crate
|
2020-05-12 00:32:01 -07:00 |
Alexander Polakov
|
9ec3067ba2
|
fix: high cpu usage for timer
|
2020-05-12 00:00:23 +03:00 |
Stjepan Glavina
|
77494aaa2d
|
Replace the blocking executor with blocking crate
|
2020-05-11 12:29:43 +02:00 |
Stjepan Glavina
|
bc3293203f
|
Merge pull request #92 from joshtriplett/use-duration
Use Duration functions rather than computing seconds/nanoseconds by hand
|
2020-05-08 13:31:17 -07:00 |
Josh Triplett
|
7c15dba27c
|
Use Duration functions rather than computing seconds/nanoseconds by hand
Duration already provides functions to get the whole seconds and the
subseconds in various units, so use those directly.
|
2020-05-08 12:47:45 -07:00 |
Stjepan Glavina
|
f340dce8ca
|
Merge pull request #86 from polachok/eventfd
Use eventfd for IoEvent on linux
|
2020-05-08 11:11:18 -07:00 |
Stjepan Glavina
|
d1d0ace184
|
Minor cleanup
|
2020-05-07 16:36:48 +02:00 |
Stjepan Glavina
|
ef701a4128
|
Check for EINPROGRESS in UnixStream::connect
|
2020-05-07 16:36:10 +02:00 |
Stjepan Glavina
|
34fcc57a7f
|
Format comments
|
2020-05-07 16:33:44 +02:00 |
Jagadesh Adireddi
|
8a6b4b89b0
|
handling connection in progress check separately for both unix and windows os.
|
2020-05-07 14:11:33 +05:30 |
Jagadesh Adireddi
|
8671dbb4d5
|
Refactor libc dependency.
|
2020-05-07 12:35:55 +05:30 |
Jagadesh Adireddi
|
f3de5b91aa
|
Add libc to dependency.
|
2020-05-07 11:34:13 +05:30 |
Jagadesh Adireddi
|
1547d075de
|
Change to enhance tcp socket conn error message.
|
2020-05-06 21:21:36 +05:30 |
Alexander Polakov
|
d910299003
|
Use eventfd for IoEvent on linux
|
2020-05-05 01:46:53 +03:00 |
Stjepan Glavina
|
b1ce21307f
|
Use microsecond precision with kqueue
|
2020-05-03 17:28:09 +02:00 |
Stjepan Glavina
|
74b8276e99
|
Merge pull request #70 from stjepang/explain-threaded-executors
Explain single vs multi-threaded executors
|
2020-05-02 12:35:13 -07:00 |
Stjepan Glavina
|
3e2d0d5c31
|
Reword the comment a bit
|
2020-05-02 21:33:27 +02:00 |
Stjepan Glavina
|
c736faacd3
|
Elaborate on block_on
|
2020-05-02 20:44:56 +02:00 |
Stjepan Glavina
|
e61515a6f8
|
Fix a broken link
|
2020-04-30 21:49:17 +02:00 |
Stjepan Glavina
|
578d85b1b9
|
Explain single vs multi-threaded executors
|
2020-04-30 21:46:15 +02:00 |
Stjepan Glavina
|
5c44e642bf
|
Merge pull request #67 from hwchen/doc/scheduling
add some docs on scheduling
|
2020-04-30 12:38:47 -07:00 |
Dmitry Kashitsyn
|
198cb11d89
|
Adds missing code delimiter
|
2020-04-30 22:57:02 +07:00 |
Walther Chen
|
26baeef1f4
|
add some docs on scheduling
|
2020-04-29 22:03:33 -04:00 |
Marli Frost
|
37edb1c167
|
Use a better representation for some errors
|
2020-04-28 17:19:10 +01:00 |
Stjepan Glavina
|
3b867877e9
|
Fix a bug in UDS connect
|
2020-04-28 16:08:16 +02:00 |
Stjepan Glavina
|
8345093ad5
|
Fix the writability check in async connect
|
2020-04-28 15:27:06 +02:00 |
Sebastian Thiel
|
ae35e54b9a
|
Use 'num_threads' variable in doc-exapmple for `smol::run`
|
2020-04-28 08:50:52 +08:00 |
Stjepan Glavina
|
2ff9e2cbf3
|
Less dependencies
|
2020-04-27 18:57:16 +02:00 |
Stjepan Glavina
|
6341f5872f
|
Reword some comments
|
2020-04-27 16:02:56 +02:00 |
Stjepan Glavina
|
fce8487385
|
Retry on EINTR
|
2020-04-27 15:10:29 +02:00 |
Stjepan Glavina
|
530f43203d
|
Fix a typo
|
2020-04-27 14:23:18 +02:00 |
dignifiedquire
|
cc562d97c5
|
fix imports
|
2020-04-26 21:26:07 +02:00 |
dignifiedquire
|
958efe0a8c
|
feat(async_io): support vectored methods
|
2020-04-26 21:05:05 +02:00 |
Stjepan Glavina
|
3e899311b0
|
More docs and comments
|
2020-04-26 19:38:08 +02:00 |
Stjepan Glavina
|
6a02cbb054
|
More docs
|
2020-04-25 23:19:52 +02:00 |
Leo Le Bouter
|
b1c738b412
|
Fix IntowRawSocket -> IntoRawSocket typo
|
2020-04-25 21:40:55 +02:00 |
Stjepan Glavina
|
eef5d79f48
|
Merge pull request #25 from dignifiedquire/ideas-and-helpers
Ideas and helpers
|
2020-04-25 10:03:47 -07:00 |
dignifiedquire
|
9b44f7f839
|
remove unused import
|
2020-04-25 19:02:10 +02:00 |
Friedel Ziegelmayer
|
0d6ea14e5c
|
remove unneeded FromRawFd
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
|
2020-04-25 19:01:24 +02:00 |
dignifiedquire
|
258147d15c
|
undo detach change, implment Into<JoinHandle> for Task
|
2020-04-25 18:44:22 +02:00 |
Stjepan Glavina
|
55f360bdd7
|
Fix a bug in timers
|
2020-04-25 17:45:45 +02:00 |
dignifiedquire
|
b81bc1c2af
|
fix into_raw and add from_raw
|
2020-04-25 16:50:09 +02:00 |
dignifiedquire
|
c94f74249c
|
task: return JoinHandle from detach
|
2020-04-25 16:50:09 +02:00 |
dignifiedquire
|
9299935e43
|
async_io: implement IntoRawSocket and IntoRawFd
|
2020-04-25 16:50:09 +02:00 |
Stjepan Glavina
|
51a1bf2a1f
|
Optimize timers
|
2020-04-25 16:43:01 +02:00 |
Stjepan Glavina
|
2cd7f41075
|
Polish up
|
2020-04-25 12:09:19 +02:00 |
Stjepan Glavina
|
30b3683b8e
|
More docs
|
2020-04-25 12:09:19 +02:00 |
Stjepan Glavina
|
7c642db7cd
|
Merge pull request #18 from stjepang/taiki-e/tokio02
Rename tokio feature to tokio02
|
2020-04-25 02:26:32 -07:00 |
Akhil Velagapudi
|
b605f2d578
|
fix clippy lints
|
2020-04-24 11:19:25 -07:00 |
Taiki Endo
|
04081d7cab
|
Rename tokio feature to tokio02
|
2020-04-24 21:56:49 +09:00 |
Taiki Endo
|
856752172f
|
Fix doc links
|
2020-04-24 21:33:11 +09:00 |
k-nasa
|
e962304e40
|
test: Fix documendation test
|
2020-04-24 18:54:15 +09:00 |
Stjepan Glavina
|
461a7c3e4f
|
More comments and docs
|
2020-04-22 16:01:48 +02:00 |
Stjepan Glavina
|
3546a879a6
|
More comments
|
2020-04-21 22:38:46 +02:00 |
Stjepan Glavina
|
78a867e455
|
More comments
|
2020-04-21 22:04:47 +02:00 |
Stjepan Glavina
|
a4515749a8
|
Lots of changes
|
2020-04-21 17:51:24 +02:00 |
YuWeiWu
|
101dfe41d5
|
Add AsRawFd/RawSocket on types with bound of them
|
2020-04-21 15:47:44 +08:00 |
Stjepan Glavina
|
53dee1c23e
|
Fix bugs in timer
|
2020-04-20 22:41:52 +02:00 |
Stjepan Glavina
|
0a71b39aec
|
Always trigger an event in schedule
|
2020-04-20 19:18:37 +02:00 |
Stjepan Glavina
|
e932a9f4f2
|
More comments
|
2020-04-20 17:45:14 +02:00 |
Stjepan Glavina
|
c8f2572e35
|
Split up some more
|
2020-04-20 14:08:41 +02:00 |
Stjepan Glavina
|
a8f9fe2375
|
Split up into multiple files
|
2020-04-19 23:29:40 +02:00 |
Stjepan Glavina
|
a58a03d63b
|
More docs
|
2020-04-19 23:29:40 +02:00 |
Stjepan Glavina
|
ec5ccd9424
|
More examples and tokio support
|
2020-04-18 15:29:24 +02:00 |
Stjepan Glavina
|
28a09ca2bb
|
More comments
|
2020-04-17 10:42:37 +02:00 |
Stjepan Glavina
|
dc6e936c75
|
More docs
|
2020-04-16 21:18:19 +02:00 |
Stjepan Glavina
|
07cf232cc9
|
More docs
|
2020-04-16 16:09:22 +02:00 |
Stjepan Glavina
|
90f0d901e5
|
More examples
|
2020-04-15 11:01:12 +02:00 |
Stjepan Glavina
|
172116e57a
|
Delete the global variables part
|
2020-04-14 21:01:45 +02:00 |
Stjepan Glavina
|
f59b3189b2
|
Cleanup and add examples
|
2020-04-14 20:57:09 +02:00 |
Stjepan Glavina
|
6ebc17411b
|
More docs
|
2020-04-13 22:47:55 +02:00 |
Stjepan Glavina
|
b858b0a949
|
Fix error on macOS
|
2020-04-13 13:09:17 +02:00 |
Stjepan Glavina
|
a7ebf08da6
|
Refactor
|
2020-04-13 12:49:48 +02:00 |
Thomas Campistron
|
89724901f8
|
fix a bug for macOS builds
|
2020-04-13 00:06:39 +02:00 |
Stjepan Glavina
|
66ab468459
|
Add an example and clean up
|
2020-04-12 18:31:51 +02:00 |
Stjepan Glavina
|
45d668a22a
|
Improve performance
|
2020-04-12 15:02:42 +02:00 |
Stjepan Glavina
|
8c03f01c0a
|
Simplify
|
2020-04-09 18:34:51 +02:00 |
Stjepan Glavina
|
cf59f7b7d7
|
Simplify code
|
2020-04-09 01:06:57 +02:00 |
Stjepan Glavina
|
c19e7494db
|
Simplify executors
|
2020-04-08 19:34:09 +02:00 |
Stjepan Glavina
|
3669974bfa
|
Simplify
|
2020-04-08 16:40:03 +02:00 |
Stjepan Glavina
|
f9dc5c92fd
|
More examples
|
2020-04-06 22:19:54 +02:00 |
Stjepan Glavina
|
5371a86a7e
|
Remove libc dependency
|
2020-04-05 13:49:46 +02:00 |
Stjepan Glavina
|
9e608c8adf
|
More examples and simplify
|
2020-04-02 16:44:49 +02:00 |
Stjepan Glavina
|
9729f6ad59
|
More and cleaner examples
|
2020-04-01 21:40:27 +02:00 |
Stjepan Glavina
|
db73031707
|
Lots of changes
|
2020-03-31 18:04:16 +02:00 |
Stjepan Glavina
|
21402157f3
|
Small tweaks
|
2020-03-29 17:59:37 +02:00 |
Stjepan Glavina
|
ce163066f2
|
Lots of examples and docs
|
2020-03-26 14:57:06 +01:00 |
Stjepan Glavina
|
e9c417a9ae
|
Add signals example
|
2020-03-23 14:07:07 +01:00 |
Stjepan Glavina
|
0f31c41532
|
Add capacities to blocking pipes
|
2020-03-20 15:05:36 +01:00 |
Stjepan Glavina
|
96690a0967
|
Remove io-flag
|
2020-03-18 16:52:20 +01:00 |
Stjepan Glavina
|
e1dbe00c45
|
Replace futures lock with piper mutex
|
2020-03-17 19:03:54 +01:00 |
Stjepan Glavina
|
250b0c4489
|
saved after break
|
2020-03-17 18:59:22 +01:00 |
Stjepan Glavina
|
58bf661e8d
|
saved
|
2020-03-09 12:38:50 +01:00 |
Stjepan Glavina
|
1d7aaec699
|
Lots of changes
|
2020-03-06 09:52:04 -06:00 |
Stjepan Glavina
|
24ca93c453
|
Fix CPU burn bug
|
2020-03-04 18:19:22 -06:00 |
Stjepan Glavina
|
ffee56e3a2
|
Remove solaris support
|
2020-03-04 18:08:44 -06:00 |
Stjepan Glavina
|
84c2242c3a
|
Fix error on windows
|
2020-02-29 16:39:36 -06:00 |
Stjepan Glavina
|
d6e2d8c8f4
|
More examples
|
2020-02-29 15:45:32 -06:00 |
Stjepan Glavina
|
527fe75f82
|
lots of changes
|
2020-02-28 16:22:10 -06:00 |
Stjepan Glavina
|
5634a098e5
|
Implement local()
|
2020-02-20 15:18:08 +01:00 |
Stjepan Glavina
|
785fa9d436
|
Implement into_inner
|
2020-02-20 12:27:51 +01:00 |
Stjepan Glavina
|
c42ee68c33
|
big refactor
|
2020-02-20 11:59:01 +01:00 |
Stjepan Glavina
|
20633e2490
|
good performance
|
2020-02-16 22:44:39 +01:00 |
Stjepan Glavina
|
2cb43400ea
|
dynamic scaling
|
2020-02-16 16:09:15 +01:00 |
Stjepan Glavina
|
c97162ae82
|
saved
|
2020-02-16 15:58:06 +01:00 |
Stjepan Glavina
|
57ef197d0e
|
Add work-stealing
|
2020-02-16 14:43:40 +01:00 |
Stjepan Glavina
|
5e1a64ff54
|
Refactor
|
2020-02-16 13:20:17 +01:00 |
Stjepan Glavina
|
f8710cf658
|
Keep nodelay but ignore errors
|
2020-02-15 18:58:49 +01:00 |
Stjepan Glavina
|
5de4a1ab7c
|
Remove nodelay flag
|
2020-02-15 18:55:11 +01:00 |
Stjepan Glavina
|
d609d4b2b3
|
Ignore reregister errors
|
2020-02-15 17:30:18 +01:00 |
Stjepan Glavina
|
8a9f5efe8d
|
Ignore errors on reregister
|
2020-02-15 11:06:22 +01:00 |
Stjepan Glavina
|
324bd6308f
|
Simplify executor and tweak blocking
|
2020-02-14 18:03:16 +01:00 |
Stjepan Glavina
|
6dd21b80d9
|
Fix a deadlock
|
2020-02-14 09:58:38 +01:00 |
Stjepan Glavina
|
205f1292c3
|
Spawn blocking threads more eagerly
|
2020-02-13 17:41:51 +01:00 |
Stjepan Glavina
|
7247cdcffd
|
Optimize blocking pool
|
2020-02-13 17:36:14 +01:00 |
Stjepan Glavina
|
2746515921
|
Create IoFlag
|
2020-02-12 14:26:37 +01:00 |
Stjepan Glavina
|
113f9c75cc
|
Bugfix for kqueue
|
2020-02-12 10:33:38 +01:00 |
Stjepan Glavina
|
b0da1f1cde
|
Fixes
|
2020-02-12 10:23:06 +01:00 |
Stjepan Glavina
|
1701bebd72
|
Add kqueue support
|
2020-02-11 23:58:52 +01:00 |
Stjepan Glavina
|
e79aa38c9b
|
Small fixes
|
2020-02-11 18:01:12 +01:00 |
Stjepan Glavina
|
8a5f43e7c3
|
Tweak sleeping
|
2020-02-11 15:09:23 +01:00 |
Stjepan Glavina
|
27eb270410
|
Add unwrap() and forget() methods
|
2020-02-11 11:17:21 +01:00 |
Stjepan Glavina
|
cce9ec7f3d
|
try fixing connect
|
2020-02-10 20:42:12 +01:00 |
Stjepan Glavina
|
8e801d6cf7
|
Fix compilation errors
|
2020-02-10 20:26:35 +01:00 |
Stjepan Glavina
|
7972c49020
|
Cleanup and fixes
|
2020-02-10 20:10:43 +01:00 |
Stjepan Glavina
|
335eb154d0
|
Complete platform list
|
2020-02-10 11:30:19 +01:00 |
Stjepan Glavina
|
d8da96d307
|
Fix windows errors
|
2020-02-10 10:47:19 +01:00 |
Stjepan Glavina
|
b370f4f117
|
Refactor
|
2020-02-10 03:11:04 +01:00 |
Stjepan Glavina
|
1c404a210c
|
Refactor
|
2020-02-10 02:37:36 +01:00 |
Stjepan Glavina
|
04ce20b535
|
Refactor
|
2020-02-10 01:45:32 +01:00 |
Stjepan Glavina
|
dcb9974392
|
Refactor
|
2020-02-10 00:00:09 +01:00 |
Stjepan Glavina
|
b9a5434f5b
|
Fix compilation errors
|
2020-02-09 23:44:11 +01:00 |
Stjepan Glavina
|
390ee1f8ce
|
Add windows support
|
2020-02-09 23:35:17 +01:00 |
Stjepan Glavina
|
e66d3587ec
|
Simplify
|
2020-02-09 22:13:53 +01:00 |
Stjepan Glavina
|
5612e10cf4
|
Cleanup
|
2020-02-09 19:27:14 +01:00 |
Stjepan Glavina
|
eacbe58028
|
Cleanup and add BlockOn
|
2020-02-09 16:15:32 +01:00 |
Stjepan Glavina
|
3cf08f929d
|
Lots of changes
|
2020-02-09 15:32:44 +01:00 |
Stjepan Glavina
|
8e587c8b8d
|
Merge reactor and executor
|
2020-02-08 10:24:12 +01:00 |
Stjepan Glavina
|
fa3b93d270
|
Cosmetic changes
|
2020-02-07 18:56:21 +01:00 |
Stjepan Glavina
|
38104eab1a
|
Make timers and I/O work again
|
2020-02-07 18:33:29 +01:00 |
Stjepan Glavina
|
372d60afa5
|
Filesystem support and big refactor
|
2020-02-07 17:10:20 +01:00 |
Stjepan Glavina
|
0d087b99a5
|
Simplify timers
|
2020-02-07 11:54:45 +01:00 |
Stjepan Glavina
|
0f4ea1fcf3
|
Lots of changes
|
2020-02-06 20:56:20 +01:00 |