shiffman/Most-Pixels-Ever-Processing

no longer waiting for all after first run

shiffman opened this issue · 3 comments

if waitingforall = true, and you quit all clients after running, it is no longer "waiting for all". not sure what functionality we actually want.

I'd think it should stay in "wait for all" mode, so the server wouldn't return new frames until all 3 connected again.

yeah, i agree. i was updating an old MPE project and didn't feel like implementing resetEvent() so I really needed it to continue to "wait for all". will make this update.

the behavior is now updated for the next release

  • server waits for all clients to connect before beginning
  • if a client disconnects, other clients keep going
  • if a client that disconnected reconnects, system resets
  • if all clients disconnect, it will wait for all again.