Skip to content

Instantly share code, notes, and snippets.

View jmlacroix's full-sized avatar

Jean-Michel Lacroix jmlacroix

View GitHub Profile
@jmlacroix
jmlacroix / threaded-js.html
Created April 14, 2010 16:55
Threaded javascript proof of concept. Found in my 2006 archives. Firefox only.
<html><body>
<div id="o"></div>
<script>
// Thread scheduling.
var Scheduler = {
threads : new Queue(),
run : function(context) {
Scheduler.threads.insert(context);