タグ

ブックマーク / libcsp.com (1)

  • | Libcsp

    Introductionlibcsp is a high performance concurrency C library influenced by the CSP model. FeaturesMultiple CPU cores supported.High performance scheduler.Stack size statically analyzed in compile time.Lock-free channel.Netpoll and timer are supported. go foo(arg1, arg2, arg3) var wg sync.WaitGroup wg.Add(2) go func() { defer wg.Done(); foo(); }() go func() { defer wg.Done(); bar(); }() wg.Wait()

    MonMonMon
    MonMonMon 2020/04/07
  • 1