Anteru's blog
  • Consulting
  • Research
    • Assisted environment probe placement
    • Assisted texture assignment
    • Edge-Friend: Fast and Deterministic Catmull-Clark Subdivision Surfaces
    • Error Metrics for Smart Image Refinement
    • High-Quality Shadows for Streaming Terrain Rendering
    • Hybrid Sample-based Surface Rendering
    • Interactive rendering of Giga-Particle Fluid Simulations
    • Quantitative Analysis of Voxel Raytracing Acceleration Structures
    • Real-time Hybrid Hair Rendering
    • Real-Time Procedural Generation with GPU Work Graphs
    • Scalable rendering for very large meshes
    • Spatiotemporal Variance-Guided Filtering for Motion Blur
    • Subpixel Reconstruction Antialiasing
    • Tiled light trees
    • Towards Practical Meshlet Compression
  • About
  • Archive

From scratch we go

June 07, 2006
  • Programming
approximately 1 minutes to read

Well, again no post with “Package manager working”, but I’ve got a good excuse why not ;) After digging a bit deeper into multithreading, the currently available libs (Boost.Threads, etc.) had problems to do the job, at least here. Plus, all of those libraries focus on low-level abstractions while I needed a consistent low-to-high-level thread framework. So I decided to roll my own … :)

Threads

It’s actually not that complicated, the basic primitives are rather easy (mutex, semaphore, etc.). The only tricky one is a “Condition”, at least under Win32 where you have to be damn careful that the transition from working->waiting and back is really atomic. I’m working on the higher-level abstractions like producer/consumer or map/reduce, let’s see how I get on.

Previous post
Next post

Recent posts

  • Data formats: Why CSV and JSON aren't the best
    Posted on 2024-12-29
  • Replacing cron with systemd-timers
    Posted on 2024-04-21
  • Open Source Maintenance
    Posted on 2024-04-02
  • Angular, Caddy, Gunicorn and Django
    Posted on 2023-10-21
  • Effective meetings
    Posted on 2022-09-12
  • Older posts

Find me on the web

  • GitHub
  • GPU database
  • Projects

Follow me

Anteru NIV_Anteru
Contents © 2005-2025
Anteru
Imprint/Impressum
Privacy policy/Datenschutz
Made with Liara
Last updated February 20, 2019