Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-27 | Atomics: Use _InterlockedAnd8 direction for 342bit MSVC | Sergey Sharybin | |
That's what MSDN tells you to do and that's how to solve the compilation error problem with it. | |||
2016-01-27 | atomic_ops: add atomic_fetch_and_and_uint8 wrapper. | Bastien Montagne | |
Needed by incomming changes in pbvh.c. Note that we make it much simpler than for other primitives in this file - think we could revise its content to make it simpler one day... | |||
2015-07-01 | atomic_ops: Fix MSVC versions of add/sub returning original value instead of ↵ | Bastien Montagne | |
result of operation. Thanks to Brecht for tip about how to fix this! | |||
2015-07-01 | atomic_ops: fix typo in func names (uint32 instead of uint64). | Bastien Montagne | |
2015-05-20 | Atomic operations: Add function declarations at the top of the header | Sergey Sharybin | |
No functional changes, just helps grasping what operations are actually supported. | |||
2014-12-02 | Fixes for atomic operations when building with MSVC | Sergey Sharybin | |
2014-09-26 | Fix build errors in atomic ops and warning in aligned malloc on OS X. | Brecht Van Lommel | |
2014-09-25 | Atomics: Add CAS (compare-and-swap) functions | Sergey Sharybin | |
2014-07-25 | Fix atomix operations on unofficial 64bit archs | Matteo F. Vescovi | |
2014-06-02 | Fix compilation on unofficial 64bit archs | Matteo F. Vescovi | |
2013-12-12 | Attempt to fix compilation error on Debian armel kernel | Sergey Sharybin | |
2013-09-01 | Fix OS X compile error after enabling strict build flags for this module. | Brecht Van Lommel | |
2013-08-19 | code cleanup: confirm include guards to our convention | Campbell Barton | |
2013-08-19 | Apparently sizeof(unsigned) is 4 bytes on both 32 and 64 bit platforms | Sergey Sharybin | |
For now assume sizeof(int) == 4 for all supported platforms, could be changed in the future. Added an assert to functions which depends on this this, so we'll easily notice bad things happening. | |||
2013-08-19 | Forgot this in previous commit | Sergey Sharybin | |
Solves compilation issues on Win and OSX -- svn merge -r59180:59181 ^/branches/soc-2013-depsgraph_mt | |||
2013-08-19 | Speedup for guarded allocator | Sergey Sharybin | |
- Re-arrange locks, so no actual memory allocation (which is relatively slow) happens from inside the lock. operation system will take care of locks which might be needed there on it's own. - Use spin lock instead of mutex, since it's just list operations happens from inside lock, no need in mutex here. - Use atomic operations for memory in use and total used blocks counters. This makes guarded allocator almost the same speed as non-guarded one in files from Tube project. There're still MemHead/MemTail overhead which might be bad for CPU cache utilization | |||
2013-08-19 | Commit atomic operations file | Sergey Sharybin | |
Not currently used, but needed for some further changes |