Gary Guo
732ef10f98
Make code compile
2019-12-14 23:42:14 +08:00
Gary Guo
499a44ab3b
Use ?Sized in Mutex and RwLock
2019-12-14 23:34:55 +08:00
Stjepan Glavina
548733e5d5
Cleanup stream traits ( #487 )
...
* Cleanup stream traits
* Fix docs
2019-11-09 11:22:09 +01:00
laizy
fb19ebde17
add Sync
constraint for RwLock to prevent memory unsafety ( #479 )
2019-11-08 08:56:55 +00:00
Stjepan Glavina
e9edadffc7
Fix a deadlock in channel
2019-11-04 18:15:12 +01:00
Stjepan Glavina
20cdf73bb0
Simplify RwLock using WakerSet ( #440 )
2019-11-04 02:40:55 +01:00
Stjepan Glavina
87de4e1598
Add utility type WakerSet to the sync module ( #390 )
...
* Add utility type Registry to the sync module
* Remove unused import
* Split unregister into complete and cancel
* Refactoring and renaming
* Split remove() into complete() and cancel()
* Rename to WakerSet
* Ignore clippy warning
* Ignore another clippy warning
* Use stronger SeqCst ordering
2019-11-01 02:45:50 +01:00
k-nasa
9d9543c46b
refactor: Remove needless main fn
2019-10-13 16:33:02 +09:00
k-nasa
f08fcd0bbb
refactor
2019-10-01 18:08:24 +09:00
Yoshua Wuyts
63ad786768
remove async_await feature gate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-08-21 00:29:35 -07:00
Stjepan Glavina
e459bd048e
Cleanup and docs
2019-08-14 04:22:37 +02:00
Stjepan Glavina
a430e27819
Cleanup, docs, fmt
2019-08-12 18:00:21 +02:00
Stjepan Glavina
3f4a56abdc
Reformat doc examples
2019-08-09 02:56:59 +02:00
Florian Gilcher
5b0a6269a9
Initial commit
2019-08-08 14:44:48 +02:00