andewx / dieselfluid

Provides a modular extensible framework for SPH/Grid fluid solvers in Go, chosen for it's high performant C-like code builds, simple interfaces, and ease of concurrency. This repository is not an authoritative expert repository for fluid solvers but can be forked by those who would like to work with the Go framework when implementing a solver. OpenGL is used to monitor the solvers while keyframes may be exported to PBRT or Mitsuba for further rendering.
GNU General Public License v3.0
2 stars 0 forks source link

Jobs System for Renderer #3

Closed andewx closed 2 years ago

andewx commented 2 years ago

render.Rendersystem should be able to invocate CPU bound worker threads for asyncrohnous execution. Add in jobs systems class under new common package common.Pool which manages worker thread pools

Warning: All I/O Should be managed by main thread if a worker thread requires IO access it should be passed and managed by main thread

andewx commented 2 years ago

This is obsolete we will be executing anonymous type functions in the compute package with functional evaluators via queues