repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / renderfarm.h
index ec7fb6a92116932b85d013f4b7206cd52346f1b5..1391351cccec3f38ad42a31b4952762ba8175119 100644 (file)
@@ -181,6 +181,8 @@ public:
        int start_clients();
 // The render farm must wait for all the clients to finish.
        int wait_clients();
+// number of running clients
+       int active_clients();
 
 // Likewise the render farm must check the internal render loop before
 // dispatching the next job and whenever a client queries for errors.
@@ -260,10 +262,8 @@ public:
 class RenderFarmWatchdog : public Thread
 {
 public:
-// use_pid - causes it to kill the pid instead of cancel the thread
-// Used for client.
-       RenderFarmWatchdog(RenderFarmServerThread *server,
-               RenderFarmClientThread *client);
+       RenderFarmWatchdog(int timeout_secs,
+               RenderFarmServerThread *server, RenderFarmClientThread *client);
        ~RenderFarmWatchdog();
 
 // Called at the beginning of a socket read
@@ -278,6 +278,7 @@ public:
        Condition *request_complete;
        int done;
        int pid;
+       int timeout_usecs;
 };