libco icon indicating copy to clipboard operation
libco copied to clipboard

libco is a coroutine library which is widely used in wechat back-end service. It has been running on tens of thousands of machines since 2013.

Results 109 libco issues
Sort by recently updated
recently updated
newest added

### 同时链接地址消毒库libasan.so和libcolib.so进行地址消毒测试,会出现栈缓冲区下溢和栈溢出现象。

yeeloong /var/tmp/portage/games-emulation/higan-116_pre20210818-r2/temp # tail -200 build.log * Package: games-emulation/higan-116_pre20210818-r2:0 * Repository: gentoo * Maintainer: [email protected] * Upstream: https://github.com/higan-emu/higan/issues * USE: abi_mips_n32 alsa elibc_glibc gtk kernel_linux mips opengl pulseaudio sdl udev...

协程切换时虽然是函数调用,但是编译器不能完全保证将浮点/SIMD寄存器保存到栈上,需要在coctx_swap中保存这些寄存器。

Hi, We have detected the following dependency errors in your project. Some targets (e.g., example_specific) miss dependencies (e.g., lib/libcolib.a). If we modify lib/libcolib.a, the example_specific will not be rebuilt. We...

### specific_data.h ```c++ #pragma once #include "co_routine_specific.h" struct CoSd { int idx; }; void PrintData(const char* co_name); void* Co2Func(void* args); CO_ROUTINE_SPECIFIC(CoSd, __cosd); ``` ### specific_data.cc ```c++ #include "specific_data.h" #include #include...

Optimization level of g++ whill affect debug options of gdb. I meet error when i use gdb to debug libco in ubuntu that gdb list can't refer to source file...

I think `setRaiseFds` shoud store the `poll` raised, rather than all the fds in `v`。