I installed a new release of Cheap Threads that includes the new
ct_return() function. I described this function in my posting
of October 19. In brief, it returns control to the scheduler
by a setjmp/longjmp mechanism instead of by a normal return
statement.
This functionality is available only if you compile with the
macro CT_RETURN defined. Otherwise the code is unaffected by
this release.
The source code for this new function is included in the zipped
archive on the web site, both for standard Cheap Threads and for
embedded Cheap Threads. I haven't yet changed the documentation to
match. Writing the documentation generally takes longer than writing
the code.
I apologize for keeping this release in limbo for so long. I
got distracted by another project -- a utility for removing
unwanted elements from HTML files. See:
http://home.swbell.net/mck9/html_scrub/
The targetted user is someone who receives HTML contributions from
other people, and has to eliminate certain kinds of HTML tags or
attributes in order to apply site standards.
(In particular the targetted user is Pamela Jones of Groklaw, a
site that monitors legal issues surrounding Linux and other open
software. Visit Groklaw at http://www.groklaw.net.)
Scott McKellar mck9@...
http://home.swbell.net/mck9/ct/