Il giorno 23/apr/09, alle ore 23:19, Rob Savoye ha scritto:
So it everything is a thread, then yeah, malloc() should be able to
replace mmap(). Is there a native thread interface on AmigaOS4 we
could
use instead of Boost threads ?
even if using of native threads should be the best solution we have
pthreads that could be more portable
But pthreads are also that used in the BOOST library
So i will use the SysV IPC library and i will see if there are problems.
Maybe i should start with a small test for the library and see if it
is ok
Another example of our "missing" functions is mmap/mmunmap
But here i'm sure at 100% that these functions can be replaced by a
couple of malloc/free functions.
I've ported a lot of programs that use mmap/mmunmap and i've always
replaced them with malloc
Also OWB, our current official browser, that was started by me was
using malloc/free instead of mmap
as i see diskstream.ccp use mmap..
Andrea
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev