mem := persistentalloc(n*pdSize, 0, &memstats.other_sys) for i := uintptr(0); i < n; i++ { pd := (*pollDesc)(add(mem, i*pdSize)) pd.link = c.first c.first = pd } } pd := c.first c.first = pd.link lockInit(&pd.lock, lockRankPollDesc) unlock(&c.lock) return ...
Gopkg.lock Gopkg.toml LICENSE README.md README_ZH.md VERSION auth-file blocked config.go direct install.sh install_auto.sh main.go release.sh uninstall.sh Repository files navigation README GPL-3.0 license Proxy is a high performance HTTP, HTTPS, HTTPS, websocket, TCP...
raddr Addr}// FD is a file descriptor. The net and os packages use this type as a// field of a larger type representing a network connection or OS file.typeFDstruct{// Lock sysfd and serialize access to Read and Write methods.fdmu fdMutex// System file descriptor. Immutable until Cl...
semaphore - Semaphore pattern implementation with timeout of lock/unlock operations based on channel and context. semaphore - Fast resizable semaphore implementation based on CAS (faster than channel-based semaphore implementations). stl - Software transactional locks based on Software Transactional Memory ...
Distributed Application Runtime. An event-driven, portable runtime for building microservices on cloud and edge. 分布式应用运行时、事件驱动、为云和边缘构建微服务提供便携化运行时。 我现在也不是很懂。 dapr/dapr GitHub Dapr is a portable, serverless, event-driven runtime that makes it easy for ...
dynamolock - DynamoDB-backed distributed locking implementation. dynatomic - A library for using DynamoDB as an atomic counter. emitter-io - High performance, distributed, secure and low latency publish-subscribe platform built with MQTT, Websockets and love. flowgraph - flow-based programming pack...
error") } // 因为后面要对c.err和c.done进行更新,所以这里要抢锁 c.mu.Lock() if c...
Bug fix: The synchronous config reload (HUP signal) and launch of the internal collecting statistics procedure (every "metric-interval") could cause deadlock (thanks Maxim Ivanov)version 0.8.0Fully refactored and optimizer cache module (core of go-carbon) (thanks Maxim Ivanov) Added noop cache...
一款轻量级、功能强大、高性能的http代理、https代理、socks5代理、内网穿透代理服务器、ss代理、游戏盾、游戏代理,支持API代理认证。websocke代理、tcp代理、udp代理、socket代理、高防服务器。支持正向代理、反向代理、透明代理、TCP内网穿透、UDP内网穿透、HTTP内网穿透、HTTPS内网穿透、https代理负载均衡、http代理负载均衡...
In this example, we are imposing a timeout of three seconds iftransform1Chanandtranform2Chanare empty. This is a useful mechanism when the application has irregular data streams. As you can see, the data fromtransform1Chanandtransform2Chanare both input to atransportChan. This is again d...