[Devel] Cross compile and fastlock.h
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jan 10 16:11:30 CET 2007
Hi Cedric,
fastlock implementation is architecture dependent, but there are other
options for the locking support. See in Makefile.defs:
# -DFAST_LOCK
# uses fast arhitecture specific locking (see the arh. specific
section)
# -DUSE_SYSV_SEM
# uses sys v sems for locking (slower & limited number)
# -DUSE_PTHREAD_MUTEX
# uses pthread mutexes, faster than sys v or posix sems, but do not
# work on all systems inter-processes (e.g. linux)
# -DUSE_POSIX_SEM
# uses posix semaphores for locking (faster than sys v)
use any of them in DEFS+=.
regards,
bogdan
cedric.stevens at oss.co.za wrote:
>Hi
>
>I am cross compiling openser to the cris platform, but need to write an
>extention to fastlock.h for this processor.
>
>Where can I find information on what the purpose and function of fastlock.h is
>so that I cam implement code for the new platform?
>
>Thanks
>
>Cedric
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
More information about the Devel
mailing list