Skip to content

Releases: co-rs/mco

v0.1.32

06 Feb 21:13
Compare
Choose a tag to compare

v0.1.32

  • fix sync-btree-map insert's bug
  • time add sub method

v0.1.31

02 Feb 19:43
Compare
Choose a tag to compare

v0.1.31

  • add rustls example
  • fix chan!() more than length
  • chan!() add method try_send()
  • coroutine remove many unsafe method
  • error remove trait ToString
  • select{} macro don't need ;, and add support match Some()/None/Ok()/Err()
  • add err!() macro

v0.1.30

28 Jan 18:17
Compare
Choose a tag to compare

v0.1.30

  • impl std error for cogo's error

v0.1.29

28 Jan 16:54
Compare
Choose a tag to compare

v0.1.29

  • change go! to use spawn local

v0.1.28

26 Jan 03:23
Compare
Choose a tag to compare

v0.1.28

  • move mpmc,mpsc to channel mod
  • Condvar use SegQueue replace Mutex WaitList

v0.1.27

25 Jan 08:34
Compare
Choose a tag to compare

v0.1.27

  • add sync/Once
  • add queue/ArrayQueue

v0.1.26

25 Jan 05:39
Compare
Choose a tag to compare

v0.1.26

  • Modify and copy crossBeam's SegQueue implementation to reduce a lot of stack space for channels

v0.1.24

16 Jan 18:02
Compare
Choose a tag to compare

v0.1.24

  • SyncHashMap Each value takes a very small amount of time
test bench_sync_hash_map_read   ... bench:           8 ns/iter (+/- 0)
  • make SyncHashMap and SyncBtreeMap Read and write separation, space for time, suitable for the scenario of more reading and less writing

v0.1.23

14 Jan 14:47
Compare
Choose a tag to compare

v0.1.23

  • Complete stable Time
  • Add err_warp! macro
  • Add Ticker
let mut t = Arc::new(Ticker::new(Duration::from_secs(1)));
        let tclone = t.clone();
        go!(move ||{
             for x in tclone.as_ref() {
               println!("tick {}", x);
            }
        });
        sleep(Duration::from_secs(3));
        t.stop();

v0.1.22

14 Jan 03:41
Compare
Choose a tag to compare

v0.1.22

  • fix unix Time local