Skip to content
Snippets Groups Projects
  1. Dec 07, 2015
    • ShadowNinja's avatar
      Fix Event implementation · 696148e2
      ShadowNinja authored
      On non-windows platforms this just used a semaphore,
      which meant that multiple calls to signal() would
      result in wait() returning multiple times.
      696148e2
  2. Aug 24, 2015
    • ShadowNinja's avatar
      Clean up threading · e4bff8be
      ShadowNinja authored
        * Rename everything.
          * Strip J prefix.
          * Change UpperCamelCase functions to lowerCamelCase.
        * Remove global (!) semaphore count mutex on OSX.
        * Remove semaphore count getter (unused, unsafe, depended on internal
          API functions on Windows, and used a hack on OSX).
        * Add `Atomic<type>`.
        * Make `Thread` handle thread names.
        * Add support for C++11 multi-threading.
        * Combine pthread and win32 sources.
        * Remove `ThreadStarted` (unused, unneeded).
        * Move some includes from the headers to the sources.
        * Move all of `Event` into its header (allows inlining with no new includes).
        * Make `Event` use `Semaphore` (except on Windows).
        * Move some porting functions into `Thread`.
        * Integrate logging with `Thread`.
        * Add threading test.
      e4bff8be
Loading