fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] FluidSynth and glib


From: Johannes Schickel
Subject: Re: [fluid-dev] FluidSynth and glib
Date: Thu, 21 Jan 2016 23:06:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]