76/// Run the work only once if it returns at all, unlike the multi-threaded variant.
77/**
78 If the worker_fn() returns true then it will run once, then exit, otherwise it will depend upon the return value for pre_exit(). If this always returns false, then the system will enter an infinite loop. By default pre_exit() for sequential mode returns false.
157// Note that to use this, you must implement a lock around the assignment, so that you can guarantee that it is done before calling other functions that may rely on the value of "cp.handle", which is plain nasty, because most Win32 API fns require the handle, not the id, and you can't get the handle atomically...