Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2017 13:48:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220412] [NEW PORT] devel/libco: Coroutine library for C/C++
Message-ID:  <bug-220412-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220412

            Bug ID: 220412
           Summary: [NEW PORT] devel/libco: Coroutine library for C/C++
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: amutu@amutu.com

Created attachment 183984
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183984&action=
=3Dedit
libco.shar

Libco is a c/c++ coroutine library that is widely used in WeChat services. =
It
has been running on tens of thousands of machines since 2013. By linking wi=
th
libco, you can easily transform synchronous back-end service into coroutine
service. The coroutine service will provide out-standing concurrency compar=
e to
multi-thread approach. With the system hook, You can easily coding in
synchronous way but asynchronous executed.

You can also use co_create/co_resume/co_yield interfaces to create asynchro=
nous
back-end service. These interface will give you more control of coroutines.

By libco copy-stack mode, you can easily build a back-end service support t=
ens
of millions of tcp connection.

WWW: https://github.com/Tencent/libco

QA:
portlint -AC
looks fine.

poudriere testport passed on 10.3R-amd64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220412-13>