Commit Graph

265 Commits

Author SHA1 Message Date
John Nunley 75c8dcedfa Run the process driver on the executor thread
This allows us to avoid spawning an additional thread in some cases.

Signed-off-by: John Nunley <dev@notgull.net>
2023-11-02 06:38:41 -07:00
imarkov 5d51de0bd5 Support for the ESP-IDF framework 2023-08-18 07:11:34 +00:00
John Nunley 35b45aa3da
docs: Use the new smol logo in docs and README 2023-07-16 07:22:16 -07:00
John Nunley 8e97a4477e
Replace once-cell with async-lock (#241)
* Replace once-cell with async-lock

* Update dependencies
2022-11-27 20:39:36 -08:00
Taiki Endo 404c7bcc0a Remove rustfmt.toml 2022-01-09 01:15:08 +09:00
atouchet b1dbdc00f9 Update URLs 2020-12-23 12:31:12 -08:00
Stjepan Glavina 15447d6859 Refactor 2020-10-09 14:16:52 +02:00
Stjepan Glavina 7942ced667 Docs 2020-09-21 11:15:55 +02:00
Stjepan Glavina 68d2db5091 Update async-executor 2020-09-20 18:29:46 +02:00
Stjepan Glavina c9a8a955b0 Remove let _ pattern 2020-09-13 13:41:18 +02:00
Stjepan Glavina 1ab67fba35 More docs 2020-08-30 22:32:10 +02:00
Stjepan Glavina 6de2ffabbb Formatting 2020-08-27 15:31:48 +02:00
Marc-Antoine Perennou c39584d4b5 bring back SMOL_THREADS
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-27 14:18:13 +02:00
Stjepan Glavina d36f5a44f0 Remove a todo 2020-08-27 00:11:27 +02:00
Stjepan Glavina 1a542a8864 Fix compilation errors 2020-08-27 00:02:08 +02:00
Guillaume Gomez 59fb32b48e Add doc-comment to test README examples 2020-08-06 16:19:10 +02:00
Stjepan Glavina 974c4cd218 Add block_on() and SMOL_THREADS 2020-07-27 13:59:47 +02:00
Stjepan Glavina a3552bcadc Reexport FutureExt 2020-07-23 23:58:34 +02:00
Stjepan Glavina 8f1c3cc5be Reword 2020-07-23 13:19:38 +02:00
Stjepan Glavina b9115cc671 Cleanup 2020-07-23 13:06:06 +02:00
Stjepan Glavina 98e75b9759 Bump to v0.3.1 2020-07-23 13:06:06 +02:00
Stjepan Glavina 92364e6fb3 Clarification 2020-07-23 12:40:08 +02:00
Stjepan Glavina 9cffe01a92 Big refactor 2020-07-23 12:24:16 +02:00
Stjepan Glavina 2f00e2c3d3 Simplify imports 2020-07-20 20:44:48 +02:00
Stjepan Glavina 36df3d3bae Update docs 2020-07-20 20:40:27 +02:00
Stjepan Glavina f093e19805 Revert the change in number of executor threads 2020-07-20 19:23:33 +02:00
Stjepan Glavina 39f67144a4 Reexport other crates into smol 2020-07-20 19:20:29 +02:00
Stjepan Glavina a3193f922a Expand docs a bit 2020-07-20 11:39:04 +02:00
Stjepan Glavina 4a18f3cb37 Fix compilation errors on windows 2020-07-15 13:40:48 +02:00
Stjepan Glavina 9c28a276fa Remove uses of async-net 2020-07-15 11:37:50 +02:00
Stjepan Glavina f61db4fcbe Refactor 2020-07-14 21:19:01 +02:00
Stjepan Glavina 21fc108621 Spawn onto local worker if possible 2020-06-22 20:10:36 +02:00
Stjepan Glavina ccab5ca514 Remove unnecessary unsafe 2020-06-22 18:27:39 +02:00
Stjepan Glavina 7887904222 Ignore wakeup errors on windows 2020-06-21 23:08:04 +02:00
Stjepan Glavina 40065c191f Fix compilation error on windows 2020-06-21 22:26:22 +02:00
Stjepan Glavina 7b9e9a794b Change MAX to max_value() 2020-06-21 22:14:04 +02:00
Stjepan Glavina 6bbd398331 Simplify reactor code 2020-06-21 22:11:14 +02:00
Stjepan Glavina 30427646f6 Cleanup sys module 2020-06-21 21:05:10 +02:00
Stjepan Glavina 9c14bfb127 Remove piper 2020-06-21 18:46:49 +02:00
Stjepan Glavina 0e93b92744 Delete more dead code 2020-06-21 18:34:23 +02:00
Stjepan Glavina bb75ee645c Delete old eventfd code 2020-06-21 18:30:57 +02:00
Stjepan Glavina 35e3bbfe4c Remove IoEvent 2020-06-21 18:29:52 +02:00
Stjepan Glavina 993e90d35d Use eventfd 2020-06-21 18:04:55 +02:00
Stjepan Glavina b99a4b8425 Use patched version of wepoll-sys 2020-06-21 17:05:29 +02:00
Stjepan Glavina ecd832eb31 Replace wepoll-binding with wepoll-sys 2020-06-21 15:32:56 +02:00
Stjepan Glavina d27dd3c5cb Fix typo 2020-06-21 14:50:30 +02:00
Stjepan Glavina 42bf604d2f Simplify reactor notification 2020-06-21 14:48:36 +02:00
Stjepan Glavina e260c27734 Change AtomicU64 to AtomicUsize 2020-06-21 14:17:26 +02:00
Stjepan Glavina 68272435b8 Cosmetic changes 2020-06-21 13:48:26 +02:00
Stjepan Glavina 34f4774ce0 Add readable/writable 2020-06-21 13:45:29 +02:00