BTW, static void update_window(void) { [/code] Does it work in MSVC? Gcc and clang don't like tha…
It's not about efficiency but about encapsulation and robustness, having direct access to the OS …
It's not about efficiency but about encapsulation and robustness, having direct access to the OS …
As I said - if you want Windows event like synchronization, then you can simply use eventfd. No n…
Actually its other way around - condition variables are much more lightweight than events. Its bet…
yes, you should use dedicated mutex per condition object. There is alternative way to build "cond…
Hrm. 2.0.4 is well over 2 years old and SDL has since had numerous bug fixes in addition to the co…
What version of SDL is in Ubuntu? I'm just getting started with Noir, so it's highly likely I'll …
We're already using a smattering of C11 features (anonymous structs/unions and x[] arrays), so I t…
Does using strcpy_s is a) C11, not C99 b) not available in linux's gcc and SDL_SetWindowResizable…
The _end array is just pointing one past the end of the data, so you can use it interchangeably w…
Very cool, I wasn't aware of that. Thanks for sharing! I'm probably being dim, but why do you need…
If you are using the GNU ld linker, there is another way to turn any file into a .o object file th…
At some point you'll probably want to include some data or resources into the executable itself (e…
no. This can be used safely on multiple threads. That's the point of mutex - to synchronize thread…
I never thought pthread would be so different from win32, but something is wrong with my pthread i…
Dautor —
I agree. But I'm more concerned with the fact that you're relying on OS's ability to cache the FS.…
I have not! Looks like this kind of system would be needed for large-scale file watching for mostl…
Dautor —
Have you looked into inotify for monitoring file changes? It seems to be the preferred method. In …
Thanks for the detailed proposal. This is simple and worth doing. By the way, you don't have to ma…
Here is a proposal to allow number groupings in numeric literals. It allows the optional introduct…
Nice! I like the capture idea. It's cool to see all the work you're doing on your parallel impleme…
Got hotload header finished up! Decided to name it tinyfilewatch.h. Ended up being fairly easy to…
I normally dont post stuff like this, but this AMV editing is really insane! -> Warning: Anime con…
Yep in the next build (4.0.26)
Hi Ryan, I have trouble with this too. Even though I really like and (I think) I understand the Fo…
Thanks Chen for the comment. Yes, since changing to this approach I've been thinking about reusabi…
Yup, that works thank you! :) Will it be incorporated into a release on the itch.io page at some p…
Finished today (I didn't forbid assignments, only declarations, breaks and continue). Continuing …