On 31/03/2011, at 3:17 AM, Rhythmic Fistman wrote: > On 30 March 2011 18:00, john skaller <skal...@users.sourceforge.net> wrote: >> >> On 31/03/2011, at 2:15 AM, Rhythmic Fistman wrote: >> >>> >>> Thanks! Now I've got my felix code compiling to cpp again, using the >>> 2007 version of flxcc to generate the massive enum. Now to unbreak my >>> custom driver. >> >> >> Why not use the standard one? > > Because I'm embedding felix in c++ and not vice versa. > My driver is synchronous, and returns control to the embedder once all > fthreads have called a sleep function. It basically lets me run "one > tick" worth of embedded fthreads at a time.
Well, we should be able to make flx_run do that too. It already knows when there's nothing to do (you don't need to call a sleep function), and it already exits when that happens. The difference is that when there's nothing to do its all over, so we need to fix that. Also we don't want to exit entirely and lose the gc objects etc. -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language