Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: Recommendations for Lightweight Threading? Date: Sat, 16 Jun 2012 01:04:17 -0700 Organization: Canadian Mind Products Lines: 19 Message-ID: References: Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: csiph.com comp.lang.java.programmer:15328 On Sat, 16 Jun 2012 01:00:10 -0700, Roedy Green wrote, quoted or indirectly quoted someone who said : > >that takes me back. I wrote code for a Univac 1616 military mini to >make it simulate an IBM front end communications processor. That is >exactly how it worked. Circa 1990 I wrote a co-operative thread package for windows for C. It was surprisingly simple. On task switch I had to save the stack and registers and restore another thread's stack and registers. That was basically all there was to it. -- Roedy Green Canadian Mind Products http://mindprod.com Controlling complexity is the essence of computer programming. ~ Brian W. Kernighan 1942-01-01 .