Well, I've already ported over most glib utilities, atomics, and
mutexes (normal and recursive). I just ended up busy with several
other things until this weekend.
On January 21, 2016 4:06:41 PM CST, Johannes Schickel
<address@hidden> wrote:
On 01/14/2016 12:29 AM, Ryan Gonzalez wrote:
May I try? :D Pretty much everything outside of threading is
really trivial. The wiki says the supported platforms are
Windows, OSX, and Linux, and that it runs under Solaris and
OS/2 but they aren't officially supported. For atomics, glib
seems to use GCC's C++11-style atomics. when it can, then it
falls back to either GCC/Clang's built-in __sync atomic
operations or Windows's atomic API. For normal threads, glib
uses pthreads on Posix and Windows threads on...Windows. Maybe
I'm just super nerdy, but this seems totally doable. ;)
I guess if you can rely on compiler's atomics support it's not too hard.
Creating/managing threads is usually rather easy.
// Johannes
------------------------------------------------------------------------
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev
-- Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity.