src/hb-mutex-private.hh


Log

Author Commit Date CI Message
Behdad Esfahbod a60ba796 2018-05-01T19:01:25 s/finish/fini For consistency.
Behdad Esfahbod dbdbfe3d 2017-10-15T12:11:08 Use nullptr instead of NULL
Konstantin Ritt 3f174cd0 2015-03-28T00:49:33 Minor refactoring to the atomics implementation s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/ to bring it in par with hb_mutex_impl_t, then re-introduce hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t. In hb_reference_count_t, make it clear the non-atomic get and set are intentional due to nature of the cases they are used in (comparison to -1 and the debug output/tracing).
Behdad Esfahbod 24930d54 2015-04-08T12:52:06 Minor
Behdad Esfahbod 45a8b46f 2015-04-08T12:49:38 Allow implementing atomic and mutex ops in config Motivated by https://github.com/behdad/harfbuzz/pull/92
Konstantin Ritt 7db326a1 2015-01-25T08:13:24 Fix build on WinRT There is no environment (like WinCE) and the basic version of InitializeCriticalSection is unsupported. https://codereview.qt-project.org/#/c/92496/
Behdad Esfahbod 8fd4d70b 2014-08-12T13:12:31 [wince] Two more Windows CE fixes Report has it that it builds (and works) now: https://codereview.qt-project.org/#/c/92087/
Behdad Esfahbod db308280 2014-07-19T16:32:04 [win] Consolidate windows.h include tips and tricks
Behdad Esfahbod a6c1e040 2013-02-12T15:31:58 Improve check for Windows platforms Instead of checking for compiler, check for platform.
Behdad Esfahbod b8427801 2013-02-11T17:02:17 Minor
Behdad Esfahbod 0e292eb2 2012-10-02T14:59:00 Remove Glib thread-safety support Now that we have pthread detection in configure, we don't need Glib anymore. Glib will only be a Unicode data provider.
Behdad Esfahbod eb56f6ae 2012-08-07T21:44:25 Minor
Behdad Esfahbod 49f8e0cd 2012-06-16T15:40:03 GStaticMutex is deprecated
Behdad Esfahbod 81a4b9fd 2012-06-05T20:49:51 Remove unused hb_static_mutex_t
Behdad Esfahbod 04bc1eeb 2012-06-05T20:16:56 Add configure tests for Intel atomic intrinsics
Behdad Esfahbod cdafe3a7 2012-06-05T16:34:49 Add gcc intrinsics implementations for atomic and mutex
Behdad Esfahbod 0e253e97 2012-06-05T15:37:19 Add a mutex to object header Removes one more static-initialization. A few more to go.
Behdad Esfahbod 022a05ae 2012-05-17T21:53:24 Minor
Behdad Esfahbod 34961e31 2012-05-17T20:50:38 Prefer native atomic/mutex ops to glib's
Behdad Esfahbod ec3ba4b9 2012-05-17T20:30:46 Move atomic ops into their own header
Behdad Esfahbod a1970d9a 2012-02-24T13:51:09 Add support for atomic int and mutex on Apple systems So, apparently there's no atomic int 'get' method on Apple. You have to add(0) to get. And that's not const-friendly. So switch inert-object checking to a non-atomic get. This, however, is safe, and a negligible performance boost too.
Behdad Esfahbod bd7ff1de 2012-02-23T15:06:16 Allow disabling multi-threaded support By defining HB_NO_MT. Also, only warn once per missing MT feature support. Mozilla Bug 666661 - gfx/harfbuzz/src/hb-prive.h - compiler warnings on mac
Behdad Esfahbod c605bbbb 2011-08-04T20:00:53 Remove C++ guards from source files Where causing issues for people with MSVC.
Behdad Esfahbod f60271c0 2011-08-02T09:56:30 Add mingw32 support With these changes, on Ubuntu I can do: ./configure --host=i586-mingw32msvc && make
Behdad Esfahbod 389a7c9e 2011-05-11T22:21:38 Remove hb_static_threadsafe_set_t
Behdad Esfahbod daa446f1 2011-05-11T21:31:25 Fix compile with no mutex available
Behdad Esfahbod 1e56c476 2011-05-11T21:28:01 Free static mutex'es
Behdad Esfahbod 831886a9 2011-05-11T21:27:52 Streamline mutex stuff
Behdad Esfahbod 438c4eee 2011-05-11T21:14:34 Remove unused hb_mutex_trylock()
Behdad Esfahbod 8c7a100a 2011-05-10T19:21:07 Fix build without mutex
Behdad Esfahbod 19d3035c 2011-05-10T19:18:12 Remove duplicate atomic_int implementation
Behdad Esfahbod 45bfa990 2011-05-10T19:12:49 Fix set implementation to be truly threadsafe even with destroy() callbacks The test/object test is passing again, instead of deadlocking.
Behdad Esfahbod 08611d51 2011-05-06T16:28:10 Add note re deadlocks
Behdad Esfahbod d37486d8 2011-05-05T15:07:54 Add hb_threadsafe_set_t
Behdad Esfahbod b81bd429 2011-05-05T00:21:16 Make hb_mutex_*() macros take a pointer More intuitive.
Behdad Esfahbod a4b19009 2011-05-05T00:17:43 Add hb_static_mutex_t
Behdad Esfahbod 56eb5ad6 2011-05-04T19:27:37 Move code around Mutex (and Windows.h by extension) are fairly isolated now.