On 06/23/2010 02:45 PM, Henry Vermaak wrote: > I think you'll first have to worry porting fpc to those architectures. > Right you are :)
But anyway, if not using libc, you need to do the FUTEX user space part in Pascal/Assembler - With X86 using the appropriate assembler instructions (such as "lock cmpxchg") - with ARM11 using "load locked / store conditional" - with ARM9 using an appropriate call to a fixed Kernel defined address to have the atomic instruction executed. tricky but doable. -Michael _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
