SunWorld: Programming events: An event-based programming tutorial

Written By
Web Webster
Web Webster
Nov 7, 1999

“How do you do three things at once? If you’re like a
computer (or most people, for that matter) you schedule your jobs
— that is, you set up some system to work on different tasks so
they don’t stall each other out….
“

“A related concept familiar to early users of Mac OS and
Microsoft Windows is that of cooperative multitasking, in which an
executing job continues to execute until it explicitly surrenders
control. While the infrastructure for this system is easier to
engineer, the consequence for users is that an improperly written
program can freeze the system.”

“Deciding which multitasking model is best for you depends on
the hardware, operating system, and programming-language support
available. And, most importantly, it depends on the programmer.
Different models lead to different styles of programming, and a
programmer’s comfort level with a particular style often is more
important than the efficiency of the underlying
implementation.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.