Initialise a mutex statically with PTHREAD_MUTEX_INITIALIZER
Initialise a global pthread mutex at load time with PTHREAD_MUTEX_INITIALIZER in glibc 2.39, with no init call and no destroy for a static mutex.
Short posts that solve one thing: the code, the output we got, and why it works.
Initialise a global pthread mutex at load time with PTHREAD_MUTEX_INITIALIZER in glibc 2.39, with no init call and no destroy for a static mutex.
Check that GStreamer can open a window with gst-launch-1.0 videotestsrc ! autovideosink, using num-buffers so the test ends on its own, on GStreamer 1.26.
Set MIMALLOC_SHOW_STATS=1 and mimalloc 2.1 prints reserved, committed and peak heap numbers to stderr when the process exits, with no code changes.
Set up the cross-build environment from a Yocto SDK by sourcing its environment-setup script, and see what it exports in the shell.
Rebuild a Zephyr app from scratch for one board with west build -p always, which deletes the build directory and reruns CMake, on Zephyr 4.0.
Create a VkInstance for Vulkan 1.3 with vkCreateInstance, asking GLFW for the surface extensions the window system needs.
Print the disassembly of one function from a shell script with gdb -batch and -ex, without starting a debugging session.
Print Clang's abstract syntax tree for a C file with clang -Xclang -ast-dump -fsyntax-only, no object file needed, using Clang 19.
Register an interrupt handler with devm_request_irq() so the driver core frees the IRQ on unbind, and see the registered name in /proc/interrupts.
Read one IMS root segment by key with a GU call to CBLTDLI and a qualified SSA, then check the PCB status code, in Enterprise COBOL 6.4.
Configure STM32F4 SPI1 as a mode 0 master by setting MSTR, SSM and SSI in SPI_CR1 with a divide-by-16 baud rate, then enable it with SPE.
musl defines no identifying macro, so detect it by asking the compiler for its target triple with -dumpmachine, then fall back to a negative glibc test.
We send one email when a new post is published. No spam.