McGovernTheory
McGovernTheory

Reputation: 6664

Adding stackless threading to BSD Kernel?

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?

Upvotes: 1

Views: 497

Answers (2)

prime_number
prime_number

Reputation: 758

What you need is coroutines http://www.nightmare.com/~rushing/copython/index.html

Upvotes: 1

brlcad
brlcad

Reputation: 827

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

Upvotes: 2

Related Questions