在BSD内核中添加无堆栈线程? [英] Adding stackless threading to BSD Kernel?

查看:99
本文介绍了在BSD内核中添加无堆栈线程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IronPort 开发了无堆栈线程模型,相比之下,IronPort设备可支持10,000多个同时连接到传统操作系统所支持的100个连接.

IronPort developed a stackless threading model that allows the IronPort appliance to support more than 10,000 simultaneous connections in contrast to the 100 connections supported on a traditional OS.

如果想做同样的事情但要使其开源,那么他们应该从哪里开始呢?

If one wanted to do the same but to make it open source, where should they start?

推荐答案

已经有一些实现.只需进行一些挖掘,便可以找到它们.在BSD许可下,最流行的实现之一是: Protothreads

There are some implementations already available. Just do some digging around and you can find them. One of the most prevalent implementations is available under a BSD license: Protothreads

这篇关于在BSD内核中添加无堆栈线程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆