jumPhp/games/hello-threads/config/services.yaml
David Nurdin fc4d0e16ec Threads: TrueAsync runtime (PHP 8.6 ZTS) and Web Workers in the browser
- docker/desktop-async: PHP 8.6 ZTS TrueAsync fork + ext/async + libuv + the SDL
  extensions (php86-compat.h, rect.c shutdown fix); game.yaml runtime: async
- JumPHP\Async: Tasks, Pool, Task, TaskFailed with three backends: TrueAsync
  threads, browser Web Workers (one PHP wasm engine each, closures through
  laravel/serializable-closure), or work spread over the frames
- games/hello-threads: fractal computed by a thread pool at 60 FPS
- browser STDERR fix (Platform::log), core dumps excluded from builds
- docs: AGENTS.md threads section, docs/async.md, README (FR/EN)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 08:26:12 +01:00

11 lines
411 B
YAML

# Symfony dependency injection: every class of src/ is a service, constructors are autowired.
# Scenes (JumPHP\Scene\Scene) are public automatically: SceneManager fetches them by class name.
services:
_defaults:
autowire: true
autoconfigure: true
public: false
App\:
resource: '../src/*'
exclude: '../src/{Entity,Work}' # entities (new) and thread work (static code) are not services