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

[EMAIL PROTECTED] 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
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to