V2EX SalimTerryLi
 SalimTerryLi 最近的时间轴更新
SalimTerryLi's repos on GitHub
33 人关注
PilotPi_PCB
Altium designer project file of AirPi2 HAT
C 14 人关注
esp32_btstack_panu_example
A working example for esp32 bluetooth tethering on ESP-IDF framework with BTStack
Python 3 人关注
pyAsyncBot
Yet another chat Bot framework for Python3.8+, OOP & Async
C++ 2 人关注
HugeProject
某项目
Javascript 2 人关注
oicq_webd
Yet another shit API for oicq2
Python 2 人关注
ZTC2DNSPOD
Sync Zerotier Central managed private IPs to DNSPod
Python 1 人关注
AirPi
Python coded flight control unit. Make RaspberryPi flies as quadcopter' s commander. Already wasted.
1 人关注
AirPi_PCB
Altium designer project file of AirPi HAT
C 1 人关注
btstack
Dual-mode Bluetooth stack, with small memory footprint.
C 1 人关注
esp-tapif
TAP interface implementation based on esp-netif
C++ 1 人关注
Firmware
PX4 Autopilot Software
1 人关注
incubator-nuttx
Apache NuttX is a mature, real-time embedded operating system (RTOS)
1 人关注
incubator-nuttx-apps
Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
Shell 1 人关注
makerTerminal
TBD
Java 1 人关注
Minecrafts-Interchange-Project
Mods for Minecraft(as more platforms as it could be) in order to develop an easy way of them's interchanges.
C 1 人关注
pwe-virtual-driver
Pulse Width Encoding protocol driver for ESP-IDF, supports WS2812 strips, Dshot ESC and so on
C++ 1 人关注
RC4AirPi
AirPi specific Remote Controller based on Arduino Mega 2560 R3
C++ 1 人关注
RTIMULib-Arduino
RTIMULib Library for Arduino...(No longer support?May be...)
Makefile 0 人关注
android_device_samsung_star2qltechn
Device tree for Samsung Galaxy S9+ (unlocked bootloader variant)
0 人关注
android_kernel_samsung_sdm845
S9/S9+/N9 kernel source
Python 0 人关注
botoy
OPQ/IOTQQ/IOTBot的一个Python开发助手
C 0 人关注
cfbandwtest
Cloudflare IP bandwidth local testing tool
Cuda 0 人关注
Cuda_cmake_example
Java 0 人关注
db_homework
数据库作业
TeX 0 人关注
Devguide
PX4 Devguide GitBook
0 人关注
drv_rover_base
小车底盘驱动...
0 人关注
DSView
An open source multi-function instrument for everyone
Java 0 人关注
EdgeMinecraftCli
Designed for official Minecraft server released by mojang, aims to add more fascinating features.
0 人关注
esp-idf
Espressif IoT Development Framework. Official development framework for ESP32.
0 人关注
flathub
Repo contains pull requests towards flathub
Java 0 人关注
GitHub_Counter_4_Class
github爬虫for dashark的高级语言课
Go 0 人关注
GLuaPlayground
Gopher-LuaPlayground
C++ 0 人关注
hello-world
C/C++编程初学者
0 人关注
libyuarel
Simple C library for parsing URLs with zero-copy and no mallocs.
C 0 人关注
linenoise
A small self-contained alternative to readline and libedit
0 人关注
linux
C++ 0 人关注
mcwrapper
Parser for Minecraft vanilla server
C++ 0 人关注
mf832keeper
MF832拨号器,暂定
0 人关注
midstream-patchset-repo-mgmt-poc
A PoC for some kinds of mid-stream, patch-oriented git repo management
Shell 0 人关注
Minecraft_PVP_Script
0 人关注
oicq
Tencent QQ Bot Library for Node.js
Makefile 0 人关注
PX4-containers
Build scripts for containers running various PX4 setups, like SITL with ROS.
0 人关注
px4_user_guide
PX4 User Guide
Python 0 人关注
routingcalc
Routing Table Calculator for dropper based network in Minecraft
C 0 人关注
sping
Parallel ICMP ping test tool with test targets from stdin stream
0 人关注
static-curl
fully static builds of curl, runs anywhere
0 人关注
test-gh-runner
0 人关注
u-boot
"Das U-Boot" Source Tree with support for NEXX WT3020
Shell 0 人关注
ubuntu4atlas
Ubuntu system image creator for Atlas200DK
C++ 0 人关注
WAGLPLANNER
waglplanner code
0 人关注
zerotier-openwrt
A OpenWrt package for ZeroTier One - Pull requests are welcome!
0 人关注
ZeroTierOne
A Smart Ethernet Switch or Earth
SalimTerryLi

SalimTerryLi

V2EX 第 667070 号会员,加入于 2023-12-14 23:14:16 +08:00
SalimTerryLi 最近回复了
2023-12-15 11:59:17 +08:00
回复了 SalimTerryLi 创建的主题 反馈 对新用户的限制与风控
再议,这篇帖子我也没能发出来。需要 6hrs 等待。明早起床后再来点发送。

现在点击发送看到原因了,需要注册 14 天。我真的蚌埠住。
后面的发不出来了
一个大概的思路,非最优实现:

- 一个完整业务流程封装为一个 public async Task<Foo> async_work(){}函数
- var result = async_work().wait() 来启动并阻塞执行异步任务(或者不阻塞?不清楚 C#的控制流)
原理:嵌套的逻辑都依赖于上下文,但是这个上下文又具有一个特点:和栈一样,单方向由前置操作决定后续操作。所以我觉得应用有栈协程可以很好的处理这类业务逻辑。注,有栈/无栈协程在不同的定义下似乎存在歧义,我是指在协程内运行的业务代码拥有 per-coro 的栈。

新号发不了长的。就离谱
对付 callback hell 应该都可以上 coroutine/async 吧? C#是有协程支持的,但我不知道它的底层实现的代价,因为我不写 C#
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2775 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 21ms UTC 02:23 PVG 10:23 LAX 18:23 JFK 21:23
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86