State Threads
title: "State Threads" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["free-computer-libraries"] topic_path: "general/free-computer-libraries" source: "https://en.wikipedia.org/wiki/State_Threads" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | State Threads |
| title | State Threads |
| logo | |
| screenshot | |
| developer | Gene Shekhtman, Mike Abbott |
| released | |
| latest release version | 1.9 |
| latest release date | |
| latest preview date | |
| frequently updated | |
| programming language | C |
| operating system | Cross-platform |
| genre | Library |
| license | MPL / GPL |
| website | state-threads.sf.net |
| :: |
| name = State Threads | title = State Threads | logo = | screenshot = | caption = | collapsible = | author = | developer = Gene Shekhtman, Mike Abbott | released = | discontinued = | latest release version = 1.9 | latest release date = | latest preview version = | latest preview date = | frequently updated = | programming language = C | operating system = Cross-platform | platform = | size = | language = | status = | genre = Library | license = MPL / GPL | website = state-threads.sf.net The State Threads library is a small application library which provides a foundation for writing fast and highly scalable Internet applications (such as web servers, proxy servers, mail transfer agents, or any network-data-driven application) on Unix-like platforms.
This library combines the simplicity of the multithreaded programming paradigm, in which one thread supports each simultaneous connection, with the performance and scalability of an event-driven state machine architecture. In other words, this library offers a threading API for structuring an Internet application as a state machine.
The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR) and therefore is distributed under the Mozilla Public License (MPL) version 1.1 or the GNU General Public License (GPL) version 2 or later.
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::