Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Interesting multithreading stuff that might be useful for code completion...

<< < (2/2)

rickg22:


--- Quote from: thomas on September 05, 2008, 09:31:42 am ---because beginning with version 4.2, gcc has CAS (and pretty much any other atomic operation) as built-in intrinsic.

--- End quote ---

Thomas: That's awesome!! (Edit: By the way, I researched a bit, and it's version 4.1.0 that began implementing the built-in atomics. This is great, since the GCC version I got at home is 4.1.x).

So, With those primitives we could implement fast mutexes for quick variable changes (lock, change variable, unlock) instead of having to waste at least 1 millisecond (which would be equivalent of a million operations in today's computers) in a sleep cycle. Maybe that could speed up code completion a lot. Who knows...

Anyway, thanks for the info about the GCC primitives!

thomas:
I smell danger.

Navigation

[0] Message Index

[*] Previous page

Go to full version