Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » SpinLock
Re: SpinLock [message #44459 is a reply to message #44226] Fri, 13 March 2015 22:12 Go to previous messageGo to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,



How Can I use spinlock?
bool m::add()
{



int free_index;
{
SpinLock _;


}


Is this correct? Should spinlock be static SpinLock _;?

or

static SpinLock _;

{
SpinLock::Lock l(_);
}

A.

[Updated on: Fri, 13 March 2015 22:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: GLDraw
Next Topic: ide: Now able to detect and display binary files
Goto Forum:
  


Current Time: Mon May 13 18:47:50 CEST 2024

Total time taken to generate the page: 0.02491 seconds