Are atomic_* implementations allowed to spin/sleep?
The question is because some platforms don't have atomic operations
for adding and so on (e.g. sparcv8).
The only way to implement them on these platforms is to use a lock.
Now I'm wonder if the use of a sleep mutex is allowed or is a simple
spinning lock the sensefull choice.
One of the results is that there is no mutex/lock allocated specially
for this purpose and there is a need to allocate one globaly for all.
--
B.Walter COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message