From: Sam S. <sam...@gm...> - 2006-06-02 21:16:56
|
I was actually going to look into fixing this, it needs to be the same on all platforms, otherwise GCC on the DC complains when you create threads. I ran into that when I was working on the KOS streaming class. If you fix it (or if I do), I'll try to finish up the Stream class for the DC so we can have working sound on there. I'll also check in my old-school tone generator Stream class to go along with ConsoleText so we can have hardcore oldschool fun! It takes a BASIC-ish string of notes and outputs them in a very PC-speakery way. I'll also add a method to play arbitrary frequencies for arbitrary durations, for people that are into that sort of thing. -Sam On 6/2/06, Dan Potter <ba...@al...> wrote: > > Is there some reason for this, or can we get rid of it now? > > #if TIKI_PLAT == TIKI_DC > bool create(thread_t * hndout, void (*func)(void *), void * param); > #else > bool create(thread_t * hndout, void * (*func)(void *), void * param); > #endif > > In the most modern KOSes pthreads are mostly available, so we should > probably switch off to using them. If no one complains I'm going to > make that change some time soon... > > > > _______________________________________________ > cadcdev-tiki mailing list > cad...@li... > https://lists.sourceforge.net/lists/listinfo/cadcdev-tiki > |